A simple Streamlit demo app showing how to integrate AI evaluation with Scorecard.
- 🤖 Basic OpenAI chat interface
- ⚙️ Model selection (GPT-4, GPT-3.5-turbo)
- 💬 Chat history
- 🔐 Secure API key handling
-
Install dependencies:
pip install -r requirements.txt
-
Set up environment:
export OPENAI_API_KEY="your_openai_api_key"
-
Run the app:
streamlit run app.py
-
Open in browser: Navigate to http://localhost:8501
- Enter your OpenAI API key in the sidebar
- Select your preferred model
- Start chatting with the AI assistant
- Use the "Clear Chat" button to reset conversation
- Scorecard tracing integration
- Test case creation
- GitHub Actions for automated evaluation
- Performance metrics
This demo is part of the Scorecard ecosystem for AI evaluation and testing.