azure openai features and bugs solve - openai_version, docs (#1425)

This commit is contained in:
Pranav Puranik
2024-06-17 10:47:27 -05:00
committed by GitHub
parent dc0d8e0932
commit 4547d870af
6 changed files with 34 additions and 4 deletions

View File

@@ -29,6 +29,7 @@ llm:
model_kwargs:
response_format:
type: json_object
api_version: 2024-02-01
prompt: |
Use the following pieces of context to answer the query at the end.
If you don't know the answer, just say that you don't know, don't try to make up an answer.
@@ -87,7 +88,8 @@ cache:
"prompt": "Use the following pieces of context to answer the query at the end.\nIf you don't know the answer, just say that you don't know, don't try to make up an answer.\n$context\n\nQuery: $query\n\nHelpful Answer:",
"system_prompt": "Act as William Shakespeare. Answer the following questions in the style of William Shakespeare.",
"api_key": "sk-xxx",
"model_kwargs": {"response_format": {"type": "json_object"}}
"model_kwargs": {"response_format": {"type": "json_object"}},
"api_version": "2024-02-01"
}
},
"vectordb": {