Update Azure deployment to gpt-4o-mini in summarizer function
Browse files
controllers/summarizer.py
CHANGED
@@ -29,7 +29,7 @@ def summarize(text):
|
|
29 |
"""
|
30 |
llm = AzureChatOpenAI(
|
31 |
openai_api_version="2023-06-01-preview",
|
32 |
-
azure_deployment="gpt-
|
33 |
)
|
34 |
|
35 |
prompt_template = """ You're task is to create a concise summary of the following text,
|
|
|
29 |
"""
|
30 |
llm = AzureChatOpenAI(
|
31 |
openai_api_version="2023-06-01-preview",
|
32 |
+
azure_deployment="gpt-4o-mini",
|
33 |
)
|
34 |
|
35 |
prompt_template = """ You're task is to create a concise summary of the following text,
|