AI client library for Delphi

I decided to open source my AI client.
For the moment it only supports Gemini, but it can be easily supported to support multiple LLMs by extending TLLMObject.

* Support for sending multiple files to AI
* Support for multi-turn chat
* GUI to set up the LLM parameters
* Save settings to disk for later use
* Save JSON files to disk for debugging or later reuse.
* Calculates total used tokens
* Safety parameters (reject inappropriate input)
* Roles
* Heavily tested

Architecture:

TAiClient -> TAiClientEx 
     |
     + TLLMObject -> TLLMGemini

It is available here: GitHub.com/GabrielOnDelphi/LightSaber-AI-Client.git

Delphi AI client library
Delphi AI client library

Leave a Comment

Scroll to Top