We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81d9ece commit 2f5883cCopy full SHA for 2f5883c
.gitignore
@@ -9,4 +9,5 @@ backend/app/.env
9
backend/app.log
10
backend/Downloads
11
backend/.ipynb_checkpoints
12
-backend/.venv
+backend/.venv
13
+.idea
backend/app/core/singleton.py
@@ -20,7 +20,9 @@ def connect_openai():
20
## THIS IS FOR LOCAL LLM ONLY
21
openai_client = OpenAI(
22
api_key=settings.AZURE_API_KEY,
23
- azure_endpoint=settings.AZURE_ENDPOINT,
+ base_url=settings.AZURE_ENDPOINT,
24
+ project=None,
25
+ organization=None
26
)
27
return openai_client
28
0 commit comments