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 87a98f5 commit 1bfcc90Copy full SHA for 1bfcc90
src/App/backend/plugins/chat_with_data_plugin.py
@@ -154,7 +154,7 @@ async def get_answers_from_calltranscripts(
154
project_index = project_client.indexes.create_or_update(
155
name=f"project-index-{config.AZURE_SEARCH_INDEX}",
156
version="1",
157
- body={
+ index={
158
"connectionName": config.AZURE_SEARCH_CONNECTION_NAME,
159
"indexName": config.AZURE_SEARCH_INDEX,
160
"type": "AzureSearch",
@@ -241,4 +241,4 @@ def get_project_openai_client(self):
241
openai_client = project.inference.get_azure_openai_client(
242
api_version=config.AZURE_OPENAI_PREVIEW_API_VERSION
243
)
244
- return openai_client
+ return openai_client
0 commit comments