Skip to content

Commit

Permalink
upgrade sk,others to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
mosabami committed Dec 15, 2023
1 parent 5e8069f commit 26e18a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/ai-service/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
fastapi==0.95.2
fastapi==0.105.0
uvicorn==0.22.0
pydantic==1.10.8
pydantic==2.5.0
pytest==7.3.1
httpx
pyyaml
semantic-kernel==0.3.1.dev0
semantic-kernel==0.4.2.dev0
azure.identity==1.14.0
requests==2.31.0
2 changes: 1 addition & 1 deletion src/ai-service/routers/description_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
kernel.add_chat_service("dv", AzureChatCompletion(deployment_name=deployment, endpoint=endpoint, api_key=access_token.token, ad_auth=True))
else:
print("Authenticating to Azure OpenAI with OpenAI API key")
kernel.add_chat_service("dv", AzureChatCompletion(deployment, endpoint, api_key))
kernel.add_chat_service("dv", AzureChatCompletion(deployment_name=deployment, endpoint=endpoint, api_key=api_key))

# Import semantic skills from the "skills" directory
skills_directory: str = "skills"
Expand Down

0 comments on commit 26e18a2

Please sign in to comment.