Delphi
FreeFreeFree tier
Inputs: text, image, audioOutputs: text, image, audio
About Delphi
DelphiOpenAI is an unofficial, open-source Delphi wrapper for the OpenAI public API, as well as compatible APIs from DeepSeek, Azure OpenAI, YandexGPT, Ollama, GigaChat, and Qwen. It provides comprehensive coverage of the OpenAI API endpoints, including Models, Completions (legacy), Chat (with vision support), Edits, Images (DALL-E), Embeddings, Audio (Whisper), Files, Fine-tuning, Moderations, and more. The library also includes components for chat, function calling, and assistant management (in progress). It is designed for Delphi developers who need to integrate AI capabilities such as ChatGPT, DALL-E, and Whisper into their applications.
Key Features
Unofficial Delphi implementation of OpenAI public API
Compatibility with OpenAI, DeepSeek, Azure OpenAI, YandexGPT, Ollama, GigaChat, Qwen and other compatible APIs
Complete coverage of API endpoints: Models, Completions, Chat, Edits, Images, Embeddings, Audio, Files, Fine-tuning, Moderations
Support for Chat Vision and function calling
Includes components: TComponentChat, TComponentChatHistory, TComponentFunctions
Assistant management with Threads, Messages, Runs (in progress)
Free and open-source under a permissive license
Pros & Cons
Pros
- Free and open-source
- Comprehensive coverage of OpenAI API endpoints
- Compatible with multiple alternative AI APIs (DeepSeek, Azure, YandexGPT, etc.)
- Includes ready-to-use Delphi components
- Supports modern AI features like Chat Vision and function calling
Cons
- Unofficial library; not maintained by OpenAI
- Delphi-only, limiting audience to Delphi developers
- Some advanced features (Assistants, Threads, Messages, Runs) are incomplete
- Dependency on third-party APIs may require API keys and incur usage costs
Best For
Integrate ChatGPT-like conversational AI into Delphi applicationsGenerate images using DALL-E from Delphi codeTranscribe or translate audio using WhisperUse embedding and fine-tuning for custom NLP tasksBuild Delphi-based tools that interact with multiple AI providers
FAQ
What AI APIs are compatible with DelphiOpenAI?
The library is compatible with OpenAI, DeepSeek, Azure OpenAI, YandexGPT, Ollama, GigaChat, Qwen, and other APIs that follow the OpenAI API format.
Is DelphiOpenAI an official OpenAI library?
No, it is an unofficial library. OpenAI does not provide an official Delphi SDK.
Which API endpoints are covered?
Models, Completions (legacy), Chat (including Vision), Edits, Images, Embeddings, Audio, Files, Fine-tuning, Moderations, and Assistants (in progress).
How do I install DelphiOpenAI?
Installation details are provided in the repository's README, typically via cloning the repository and building the package in Delphi.