A brief description of your project.
To store all dependencies, create a virtual environment:
python -m venv venv
source venv/bin/activate
Navigate to the AI21 directory and run the setup script:
cd AI21
python setup.py
To deactivate the virtual environment, simply type:
deactivate
Navigate to the src directory and run main.py:
cd src
python main.py
View the prompts, responses, and scores in the responses.csv file. Visualizations can be found in the results/plots directory. Analysis results can be viewed in the analysis_results.txt file.
Re-running the script should retrieve the results from the cache, not from the AI model.
API Keys Set the API keys for the services in a .env file as shown below:
OPENAI_API_KEY=xyz
AI21_API_KEY=abc
Replace "Project Name" with the actual name of your project and provide a brief description. This improved version of the README provides clear instructions for setting up and running the project.