qiayue/php-openai-gpt-stream-chat-api-webui

不使用任何框架,php + html + css + js 原生实现 openai gpt chat 接口对接,实现流式数据传输和接收,附带简洁网页demo。

50
/ 100
Established

This tool helps individuals create a web-based chat interface that interacts with OpenAI's GPT models. You input your OpenAI API key and text prompts into a simple web page, and it provides real-time, streaming responses from the AI. This is ideal for someone who wants to quickly set up a basic, custom AI chat assistant without needing complex web development frameworks.

435 stars. No commits in the last 6 months.

Use this if you need a straightforward, ready-to-use web interface to interact with OpenAI's GPT models with streaming responses and optional content filtering.

Not ideal if you require a sophisticated chat application with advanced features, user management, or integration with other systems, as this is a basic, standalone setup.

AI-chat-setup content-filtering web-interface GPT-integration real-time-chat
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 24 / 25

How are scores calculated?

Stars

435

Forks

97

Language

PHP

License

BSD-2-Clause

Last pushed

Jun 14, 2023

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/qiayue/php-openai-gpt-stream-chat-api-webui"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.