Advanced Configuration

Environment Variables

  • File: .env

  • Purpose: Securely manage API keys and configuration parameters.

  • Variables:

    • OPENAI_API_KEY: Your OpenAI API key.

    • LOG_LEVEL: Set log verbosity (DEBUG, INFO, ERROR).

    • MAX_RETRIES: Number of retry attempts for API failures.

Customizable Parameters

  1. Temperature Control: Adjust the temperature parameter for creativity or focus.

  2. Token Limits: Modify the max_tokens for output length.

  3. Agent-Specific Settings: Enable or disable agents in the app.py file.

Last updated