Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.71 KB

README.md

File metadata and controls

51 lines (37 loc) · 1.71 KB

2024-12-15

OpenAI API Tester

English Version

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.

Features

  • Send messages to OpenAI API
  • Customizable API parameters (temperature, max tokens, etc.)
  • Chat history display
  • Advanced options for testing API performance
  • System message option

How to Use

  1. Enter your OpenAI API URL, API Key, and model name.
  2. Write your message and send it to the API.
  3. Optionally, adjust the advanced settings like temperature, top_p, and tokens.
  4. View the response in the chat history.

Live Demo

Visit the live page here: GitHub Pages link

License

This project is licensed under the MIT License.


中文版本

这是一个简单的网页界面,用于测试 OpenAI API。用户可以输入 API 详细信息和消息,并将其发送到 OpenAI API 以接收响应。界面还包括高级选项,允许用户微调 API 请求参数。

功能

  • 发送消息到 OpenAI API
  • 可自定义 API 参数(温度、最大令牌数等)
  • 显示对话历史
  • 高级选项用于测试 API 性能
  • 系统消息选项

使用方法

  1. 输入 OpenAI API URL、API Key 和模型名称。
  2. 输入你的消息并发送到 API。
  3. 可选:调整温度、top_p、最大令牌数等高级设置。
  4. 在对话历史中查看 API 响应。

在线演示

访问此链接查看在线页面:GitHub Pages link

许可证

此项目使用 MIT 许可证