To install the required packages, run the following command:
pip install -r requirements.txtTo configure, see the below section.
To run the evaluation script, run the following command:
python eval.pyThis will start listening to the defined queue.
You should create an .env file in the root directory or set environmental variables some other way. All of these are required:
-
AZURE_STORAGE_CONNECTION_STRING: The connection string for the Azure Storage Account that will have the queue.
-
QUEUE_NAME: The name of the queue in the Azure Storage Account.
-
AZURE_OPENAI_API_KEY: The API key for the OpenAI API.
-
AZURE_OPENAI_ENDPOINT: The endpoint for the OpenAI API.
-
AZURE_OPENAI_DEPLOYMENT: The deployment for the OpenAI API.
-
CATALOG_API_ENDPOINT: The endpoint for the Catalog API. (ex. http://localhost:6030)