Spaces:
Sleeping
Sleeping
Zekun Wu
commited on
Commit
•
46a37a0
1
Parent(s):
62e10d6
update
Browse files
model.py
CHANGED
@@ -55,7 +55,7 @@ DEFINITION_2 = "\n".join(["### Descriptions ###",
|
|
55 |
# Create LLM and Embedding models
|
56 |
def create_models():
|
57 |
llm = AzureOpenAI(
|
58 |
-
deployment_name=
|
59 |
api_key=os.environ.get("OPENAI_API_KEY_RAG"),
|
60 |
azure_endpoint=os.environ.get("AZURE_OPENAI_ENDPOINT_RAG"),
|
61 |
api_version="2024-02-01",
|
|
|
55 |
# Create LLM and Embedding models
|
56 |
def create_models():
|
57 |
llm = AzureOpenAI(
|
58 |
+
deployment_name="personality_gpt4o",
|
59 |
api_key=os.environ.get("OPENAI_API_KEY_RAG"),
|
60 |
azure_endpoint=os.environ.get("AZURE_OPENAI_ENDPOINT_RAG"),
|
61 |
api_version="2024-02-01",
|