You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have hardcoded some of these values to make sure the course is operational through any of the changes. Would need to investigate / test to see if just relying on the latest values has any effect on the code.
Describe the bug
Possible improvements for the handling of api_version in *.py files
I could contribute a patch to improve the handling of api_version.
Open questions:
To Reproduce
Please see the example report
C:\work\microsoft\generative-ai-for-beginners\06-text-generation-apps\python\aoai-app-recipe.py (1 hit)
Line 12: api_version = "2023-10-01-preview"
C:\work\microsoft\generative-ai-for-beginners\06-text-generation-apps\python\aoai-app.py (1 hit)
Line 13: api_version = "2023-05-15"
C:\work\microsoft\generative-ai-for-beginners\06-text-generation-apps\python\aoai-history-bot.py (1 hit)
Line 12: api_version = "2023-10-01-preview"
C:\work\microsoft\generative-ai-for-beginners\06-text-generation-apps\python\aoai-study-buddy.py (1 hit)
Line 12: api_version = "2023-10-01-preview"
C:\work\microsoft\generative-ai-for-beginners\08-building-search-applications\scripts\transcript_enrich_embeddings.py (1 hit)
Line 30: openai.api_version = "2023-05-15"
C:\work\microsoft\generative-ai-for-beginners\08-building-search-applications\scripts\transcript_enrich_speaker.py (1 hit)
Line 41: openai.api_version = "2023-07-01-preview"
C:\work\microsoft\generative-ai-for-beginners\08-building-search-applications\scripts\transcript_enrich_summaries.py (1 hit)
Line 30: openai.api_version = "2023-07-01-preview"
C:\work\microsoft\generative-ai-for-beginners\09-building-image-applications\python\aoai-app-variation.py (1 hit)
Line 14: api_version = "2023-12-01-preview",
C:\work\microsoft\generative-ai-for-beginners\09-building-image-applications\python\aoai-app.py (1 hit)
Line 16: api_version = "2023-12-01-preview",
C:\work\microsoft\generative-ai-for-beginners\09-building-image-applications\python\aoai-solution.py (1 hit)
Line 16: api_version = "2023-12-01-preview",
Expected behavior
The text was updated successfully, but these errors were encountered: