Open nickroseth opened 1 year ago
I fixed some bugs related to gpt-4 support in https://github.com/Azure-Samples/azure-search-openai-demo/pull/550/files , so can you try the latest? Or just make sure that AZURE_OPENAI_CHATGPT_MODEL is set to gpt-4 ?
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this issue will be closed.
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/workspaces/azure-search-openai-demo/./scripts/prepdocs.py", line 367, in
index_sections(os.path.basename(filename), sections)
File "/workspaces/azure-search-openai-demo/./scripts/prepdocs.py", line 262, in index_sections
for s in sections:
File "/workspaces/azure-search-openai-demo/./scripts/prepdocs.py", line 208, in create_sections
section["embedding"] = compute_embedding(content)
File "/workspaces/azure-search-openai-demo/scripts/.venv/lib/python3.10/site-packages/tenacity/init.py", line 289, in wrapped_f
return self(f, *args, **kw)
File "/workspaces/azure-search-openai-demo/scripts/.venv/lib/python3.10/site-packages/tenacity/init.py", line 379, in call
do = self.iter(retry_state=retry_state)
File "/workspaces/azure-search-openai-demo/scripts/.venv/lib/python3.10/site-packages/tenacity/init.py", line 326, in iter
raise retry_exc from fut.exception()
tenacity.RetryError: RetryError[<Future at 0x7f5ebb9e8df0 state=finished raised InvalidRequestError>]
Expected/desired behavior
OS and Version?
azd version?
Versions
Mention any other details that might be useful
Front end app and all other resources deploy successfully.