awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
openai-php avatar

openai-php/client

0
View on GitHub↗
5,805 星标·680 分支·PHP·MIT·10 次浏览

Client

本项目是一个 PHP API 客户端和 SDK,用于将 OpenAI 服务集成到 PHP 应用程序中。它作为一个集成库和包装器,用于与大语言模型交互,通过 REST API 调用生成文本、图像和音频。

该库为 AI 助手提供专门的编排,管理对话线程和向量存储。它还包括用于自定义模型微调、通过文本嵌入实现语义搜索以及用于转录和合成的音频处理工具。

功能面涵盖内容审核、文件管理以及聊天和文本补全的处理。它支持通过服务器发送事件(SSE)流进行实时数据传输、异步批处理以及 Webhook 签名的验证。

Features

  • OpenAI API Clients - Provides a PHP client to implement the OpenAI API specification for interacting with models.
  • AI SDKs - Provides a comprehensive PHP software development kit for integrating OpenAI services, including typed interfaces for model management and content generation.
  • AI Assistants - Builds and configures AI agents with specific instructions and tool access to handle complex tasks.
  • Assistant Management APIs - Coordinates assistant creation and manages threaded conversations along with tool output submissions.
  • Chat Completion Services - Generates conversational text or JSON responses from chat messages using image inputs and tool calls.
  • LLM Model Integrations - Integrates large language models into PHP applications for chat, embeddings, and completions.
  • Conversation Threads - Maintains persistent session state by creating threads and executing runs for AI conversations.
  • Text Completion Engines - Produces text or JSON completions from prompts, including support for external function calls.
  • Text Embedding Generators - Transforms input text into vector representations to power semantic search and similarity tasks.
  • Streaming Chat Responses - Delivers chat completions incrementally as they are generated to reduce perceived latency.
  • Speech-to-Text Translation - Translates spoken audio from various languages into written English text.
  • Speech-to-Text and Text-to-Speech Integrations - Integrates speech-to-text transcription and text-to-speech synthesis services.
  • Speech-to-Text Transcribers - Converts audio files into text with optional timestamps and granularities.
  • Text-to-Audio Synthesis - Converts written text into spoken audio files using synthesis models.
  • Image Generation And Editing - Implements capabilities for generating new visuals and editing existing images using generative AI.
  • Model Fine-Tuning - Allows training specific models on custom datasets by creating and tracking background fine-tuning jobs.
  • Vector Stores - Supports the organization and querying of high-dimensional embeddings in vector stores.
  • Semantic Search - Implements semantic search using vector similarity to find relevant information.
  • Response Streaming - Sends generated text, images, or audio incrementally to the client via server-sent events.
  • Server-Sent Events - Processes incremental data chunks from the API using server-sent events for real-time response streaming.
  • Content Moderation - Filters harmful or inappropriate text against safety policies to detect violations.
  • Batch Request Processing - Implements high-throughput submission and polling for large groups of asynchronous requests.
  • AI & Machine Learning - Client for interacting with the OpenAI API.
  • Development Packages - API client for AI services.
  • Programming Libraries - Supercharged PHP API client for OpenAI.

Star 历史

openai-php/client 的 Star 历史图表openai-php/client 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Client 的开源替代方案

相似的开源项目,按与 Client 的功能重合度排序。
  • openai/openai-goopenai 的头像

    openai/openai-go

    2,974在 GitHub 上查看↗

    openai-go is an LLM SDK for Go and a client for interacting with OpenAI services. It provides type-safe bindings to generate text, images, and audio via REST endpoints, enabling the integration of large language models and AI assistant orchestration into Go applications. The library serves as an agent orchestration tool for managing stateful conversation threads and autonomous agents with integrated tool calling and file search. It also functions as an asynchronous batch processing client for monitoring large-scale request groups and fine-tuning jobs, alongside a management SDK for controllin

    Go
    在 GitHub 上查看↗2,974
  • macpaw/openaiMacPaw 的头像

    MacPaw/OpenAI

    2,862在 GitHub 上查看↗

    This is an asynchronous Swift client library for calling OpenAI’s API across Apple platforms. It provides native access to chat completions, image generation and editing, speech synthesis and transcription, text embeddings, and content moderation through a single interface built on Swift’s async-await concurrency model. The client supports structured output generation by constraining model responses to a provided JSON schema, and enables real-time consumption of generated text through streaming responses delivered as an AsyncSequence. It includes a thread-based conversation model for managing

    Swiftaiopenaiopenai-api
    在 GitHub 上查看↗2,862
  • theokanning/openai-javaTheoKanning 的头像

    TheoKanning/openai-java

    4,740在 GitHub 上查看↗

    openai-java is a Java client library and software development kit designed to integrate OpenAI services into Java applications. It functions as a programmatic wrapper for large language model endpoints, enabling the implementation of generative AI capabilities such as chat completions, text embeddings, and the orchestration of AI agents. The library supports a wide range of multimodal tasks, including the generation and editing of images, as well as audio transcription and translation. It provides specialized tools for model training and fine-tuning, allowing users to upload datasets to impro

    Java
    在 GitHub 上查看↗4,740
  • sashabaranov/go-openaisashabaranov 的头像

    sashabaranov/go-openai

    10,694在 GitHub 上查看↗

    This project is a Go library that provides a programmatic interface for interacting with generative AI services. It serves as a comprehensive software development kit for integrating large language models into applications, enabling developers to perform tasks such as text and chat completion, image generation, and audio transcription. The library distinguishes itself through a unified infrastructure designed for robust network communication and service management. It features structured request mapping and error normalization to ensure type-safe interactions and simplified debugging. Further

    Gochatgptchatgpt-apidall-e
    在 GitHub 上查看↗10,694
查看 Client 的所有 30 个替代方案→

常见问题解答

openai-php/client 是做什么的?

本项目是一个 PHP API 客户端和 SDK,用于将 OpenAI 服务集成到 PHP 应用程序中。它作为一个集成库和包装器,用于与大语言模型交互,通过 REST API 调用生成文本、图像和音频。

openai-php/client 的主要功能有哪些?

openai-php/client 的主要功能包括:OpenAI API Clients, AI SDKs, AI Assistants, Assistant Management APIs, Chat Completion Services, LLM Model Integrations, Conversation Threads, Text Completion Engines。

openai-php/client 有哪些开源替代品?

openai-php/client 的开源替代品包括: openai/openai-go — openai-go is an LLM SDK for Go and a client for interacting with OpenAI services. It provides type-safe bindings to… macpaw/openai — This is an asynchronous Swift client library for calling OpenAI’s API across Apple platforms. It provides native… theokanning/openai-java — openai-java is a Java client library and software development kit designed to integrate OpenAI services into Java… sashabaranov/go-openai — This project is a Go library that provides a programmatic interface for interacting with generative AI services. It… aallam/openai-kotlin — This project is a multiplatform software development kit designed to integrate large language models into Kotlin… openai-php/laravel — This is an OpenAI API Laravel client and LLM integration library designed to connect PHP applications to large…