2024-12-15
This is a simple web interface to test the OpenAI API. Users can input API details and messages, then send them to the OpenAI API to receive responses. The interface also includes advanced options for fine-tuning the API request parameters.
- Send messages to OpenAI API
- Customizable API parameters (temperature, max tokens, etc.)
- Chat history display
- Advanced options for testing API performance
- System message option
- Enter your OpenAI API URL, API Key, and model name.
- Write your message and send it to the API.
- Optionally, adjust the advanced settings like temperature, top_p, and tokens.
- View the response in the chat history.
Visit the live page here: GitHub Pages link
This project is licensed under the MIT License.
这是一个简单的网页界面,用于测试 OpenAI API。用户可以输入 API 详细信息和消息,并将其发送到 OpenAI API 以接收响应。界面还包括高级选项,允许用户微调 API 请求参数。
- 发送消息到 OpenAI API
- 可自定义 API 参数(温度、最大令牌数等)
- 显示对话历史
- 高级选项用于测试 API 性能
- 系统消息选项
- 输入 OpenAI API URL、API Key 和模型名称。
- 输入你的消息并发送到 API。
- 可选:调整温度、top_p、最大令牌数等高级设置。
- 在对话历史中查看 API 响应。
访问此链接查看在线页面:GitHub Pages link
此项目使用 MIT 许可证。