This is a basic example to help you deploy an LLM application using the Agenta LLMOps Platform.
Create a .env
file in your project directory and add your OpenAI API key:
OPENAI_API_KEY=sk-your-api-key-here
If you haven't installed Agenta yet, run the following command:
pip install agenta
Initialize your Agenta project by running:
agenta init
Then, answer the prompts that appear.
To serve your application, run:
agenta variant serve --file_name=app.py