ruoccofabrizio / azure-open-ai-embeddings-qna

A simple web application for a OpenAI-enabled document search. This repo uses Azure OpenAI Service for creating embeddings vectors from documents. For answering the question of a user, it retrieves the most relevant document and then uses GPT-3, GPT-3.5 or GPT-4 to extract the matching answer for the question.
https://azure.microsoft.com/en-us/products/cognitive-services/openai-service
MIT License
842 stars 510 forks source link

issue opening in VSCode #99

Open isyedmud opened 1 year ago

isyedmud commented 1 year ago

May be because i am not aware of how docker image works. When i try to open the code in VS Code and deploy it on azure function app. it fails at compliation at below two lines. Not able to import azure.functions and dotenv

import azure.functions from dotenv import load_dotenv

Please can someone let me know how can i modify the code locally and deploy to azure function app