A newer version of the Streamlit SDK is available:
1.52.2
license: gpl-3.0
title: OpenAI Chatbot Tester
sdk: streamlit
emoji: 📚
colorFrom: gray
colorTo: indigo
short_description: Testing system instructions and parameters
sdk_version: 1.45.0
pinned: true
OpenAI Chatbot System Instructions and Parameter Tester
A Streamlit-based web application for testing and tuning chatbot system instructions and parameter settings. Designed primarily for educators, this tool allows you to experiment with different configurations to build personalized and embeddable chatbots for various learning activities. Hosted publicly on Hugging Face Spaces, this project is open source and welcomes contributions.
Features
Interactive Parameter Tuning:
Adjust the chatbot model, temperature, maximum tokens, frequency penalty, presence penalty, and preferred language in real time.Customizable System Instructions:
Edit system instructions to tailor the chatbot’s behavior to your educational needs.Real-time Response Streaming:
View chatbot responses as they stream in live.Embeddable Chatbot Prototype:
Test and refine chatbot settings to create personalized and embeddable chatbots for your learning activities.
Getting Started
Prerequisite
- OpenAI API Key – Obtain one from OpenAI
Configuration
API Key:
Enter your OpenAI API key in the sidebar when you run the app.Model Selection:
Choose between available models (e.g.,gpt-4oorgpt-4o-mini).Language Settings:
Select your preferred language for the chatbot’s responses.Other Parameters:
Adjust the temperature, maximum tokens, frequency penalty, and presence penalty to fine-tune the chatbot's behavior.
License
This project is distributed under the GNU GPL-3 License.
Contact
Developed by Keefe Reuther, Assistant Teaching Professor in the UC San Diego School of Biological Sciences. For more information or to get involved, please contact me.