import additional data to azure cognitive search with python code, entreprise data search with gpt et cognitive search.

Amir Billel Souala 60 Reputation points
2023-11-27T14:48:55.1266667+00:00

I was working on this demo : https://github.com/Azure-Samples/azure-search-openai-demo/
to use chatGpt with entreprise data.

I want to modify the actual code of the demo to be able to import our own data from the company directly from the app and be able to ask these documents.
but i wasn't able to do that.

I tried to run the script prepdocs.py when sending an api request when i upload the file from the App but it seems not to work.
I receive this error

User's image

when i run the script prepdocs.py localy it works fine

but when i try to run it on the deployed application, it seems nto to work.

can i have some directives over that ? or maybe there is another solution to be able to import the data.

Thank you.

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
845 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,578 questions
{count} votes