OpenAIWorkshop icon indicating copy to clipboard operation
OpenAIWorkshop copied to clipboard

Issue in employee support copilot

Open shashankms9 opened this issue 1 year ago • 1 comments

Hi @james-tn,

We are facing an issue with hr_copilot after updating the value in secrets.env after updating USE_AZCS value to True and providing all the required URL, Key and Indexes names.

please find the below screenshot for reference

image

When we try question to the copilot it throws an error TypeError: Session.request() got an unexpected keyword argument 'vectors'

please find the below screenshot for reference

image

Please help us in resolving this issue

shashankms9 avatar Apr 16 '24 15:04 shashankms9

I think it's because Azure AI Search recently updated their SDK. If your goal is to experience with multi-agent, then you can check out this newer demo: https://github.com/microsoft/OpenAIWorkshop/tree/main/scenarios/incubations/copilot/travel_leisure If you want to update the code yourself, follow this example to update the search function: https://github.com/Azure/azure-search-vector-samples/blob/main/demo-python/code/basic-vector-workflow/azure-search-vector-python-sample.ipynb

james-tn avatar Apr 16 '24 15:04 james-tn