Skip to content

一个测试OpenAI格式API的可用性的工具(A tool to test the availability of OpenAI's formatted API.)

License

Notifications You must be signed in to change notification settings

wanghaisheng/openai-api-tester

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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 许可证

About

一个测试OpenAI格式API的可用性的工具(A tool to test the availability of OpenAI's formatted API.)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%