Delphi CEX Plus API Client

From sgcWebSockets 2023.8.0 the CEX.IO Plus API is supported. APIs supported WebSockets API: connect to a public websocket server and provides real-time market data updates. WebSockets API WebSocket is a TCP-based full-duplex communication protocol. Full-duplex means that both parties can send each other messages asynchronously using the same commu...

Continue reading

Delphi Indy Server EC Certificates

Indy supports RSA and EC Certificates when using the openSSL libraries, but by default, the EC certificates can be created different curves and the openSSL libraries only are configured with some of these curves. So if you're using an EC Certificate that it's not included by the default by the openSSL libraries, the certificate won't work...

Continue reading

Azure IoT Upload Files

Azure IoT allows to send data using several protocols like MQTT or AMQP, but in some cases, the size of the message is too big and requires to upload files to Azure Servers. To provide a solution to this issue IoT hub facilitates file uploads from connected devices by providing them with shared access signature (SAS) URIs on a per-upload basis...

Continue reading

sgcWebSockets 2023.7

Rad Studio [+] : Improved the Presence Server Protocol, new "Broadcast" method which allows to send a message to all connected clients using this protocol or to clients subscribed to a specific channel. [+] : Improved the Kraken API Client, added the Private User Funding methods of the REST API. [+] : Improved the Bitstamp API Client, added the Web...

Continue reading

Bitstamp API Client Updated

The Bitstamp API Client has been updated to include new features and API endpoints. Find below a list of the main features implemented: REST Public API: Tickers, Order Book, Transactions and Market InfoREST Private API: Account balance, orders and withdrawals.WebSocket Private Subscriptions: Orders and Trades. REST API REST API Public Methods Ticke...

Continue reading

Azure OpenAI Service for Rad Studio

From sgcWebSockets 2023.7.0 the Microsoft Azure OpenAI Service is supported.  Azure OpenAI Service can be used to create chatbots, generate text, translate languages, and write different kinds of creative content. As the platform continues to evolve, developers will be able to use it to build even more powerful and sophisticated applications. ...

Continue reading

sgcWebSockets 2023.6

Rad Studio [+] : New Pinecone API Client, it's a vector database which provides long-term memory for AI using embeddings from AI models. [+] : New Demo showing the main features of Pinecone API, it's located in the folder "15.AI\10.Vector_Database\01.Pinecone". [+] : New TsgcAIDatabaseVectorFile, handles the OpenAI Embedding vectors using 2 files: ...

Continue reading

Delphi Pinecone API client

From sgcWebSockets 2023.6.0 Pinecone API is supported. Pinecone.io Pinecone is a vector database that allows to upload / query / delete vector data in an easy and powerful way.Pinecone has a public API that allows third-parties to integrate pinecone into it's own applications. The component TsgcHTTP_API_Pinecone is a wrapper over the Pinecone API. ...

Continue reading

Customizing OpenAI with your Data (2 / 2)

In a previous post, we see how to use OpenAI Embeddings to add contextual information to OpenAI chat methods. Now, we'll see how to use the TsgcOpenAIEmbeddings component from sgcWebSockets package to build AI applications using our own data. In the post Delphi Voice ChatBot, we used the component TsgcAIOpenAIChatBot to build a ChatBot handled...

Continue reading

Customizing OpenAI with your Data (1 / 2)

When we ask to OpenAI a question that requires some specific context, example: Who is my father? OpenAI can either hallucinate or answer that he doesn't know. To help OpenAI answer specific questions, you can provide extra contextual information in the prompt itself. My father lives in Barcelona and is 50 year's old. If we ask again to openAI the s...

Continue reading

sgcWebSockets 2023.5

Rad Studio [+] : New TsgcAIOpenAIChatBot, is an OpenAI ChatBot Component, allowing to build a Voice Command ChatBot for Windows using OpenAI APIs and Text-To-Speech Providers like Google or Amazon. [+] : New TsgcAIOpenAITranslator, is an OpenAI Translator Component, allowing to build a Voice Command Translator Application for Windows using OpenAI A...

Continue reading

Delphi Real-Time Translator

From sgcWebSockets 2023.5.0 building Real-Time Translators is more easy using OpenAI APIs and Text-To-Speech APIs from Windows, Google or Amazon. OpenAI translation building applications offer a multitude of advantages. They provide fast and accurate translations across multiple languages, enabling seamless communication and breaking down language ...

Continue reading

Delphi Voice ChatBot

From sgcWebSockets 2023.5.0 building Voice ChatBots is more easy using OpenAI APIs and Text-To-Speech APIs from Windows, Google or Amazon. Chatbots and Virtual Assistants are Applications that can converse with humans in a natural, human-like manner. These can be used for customer support, handling queries, and providing information on a websi...

Continue reading

sgcWebSockets 2023.4

Rad Studio [+] : New Server API Component TsgcWSAPIServer_WebPush, implements WebPush Protocol on Server Side, allowing to ask permission to the users, register the subscriptions, send notifications and more. [+] : New Client API Component TsgcWebPush_Client, implements WebPush Protocol on Client Side, allowing to send notifications to users via de...

Continue reading

WebPush Notifications

From sgcWebSockets 2023.4.0 WebPush notifications are supported. The Web Push protocol is a technology used to deliver real-time notifications to users on the web. The three main features of the Web Push protocol are: Push Notifications: The Web Push protocol allows web applications to send notifications to users even when the application is not op...

Continue reading

sgcWebSockets 2023.3

Rad Studio [+] : Added Support for OpenAI API, which allows to interact with models like gpt-3.5-turbo, speech to text, translations, Image AI generation and much more. [+] : New Demos which show how to use the OpenAI API in the folder "15.AI". [+] : Improved TsgcWebSocketClient_WinHTTP, there is a new property "VerifyCertificate" to enable the Ser...

Continue reading

OpenAI Delphi API (1 / 5)

From sgcWebSockets 2023.3.0 the OpenAI API is fully supported. The OpenAI API can be applied to virtually any task that involves understanding or generating natural language, code, or images. OpenAI offer a spectrum of models with different levels of power suitable for different tasks, as well as the ability to fine-tune your own custom models. The...

Continue reading

ChatGPT Delphi Client (2 / 5)

OpenAI API allows to build your own AI Chats using ChatGPT Turbo. Using the sgcWebSockets library is very easy to interactuate with the API, given a chat conversation, the model will return a chat completion response.  ChatGPT Delphi Example OpenAI requires to build a request were you pass the messages to sent to ChatGPT Turbo, the temper...

Continue reading

Transcription OpenAI Delphi Client (3 / 5)

Transcribing Audio to Text (also known as Speech to Text) is very easy using the OpenAI API, just upload an Audio file in one of the following formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm. And the API will return the string. Transcription Delphi Example OpenAI requires to build a request were you pass the audio file, the model, the te...

Continue reading

Translate OpenAI Delphi Client (4 / 5)

Translating Audio to Text is very easy using the OpenAI API, just upload an Audio file in one of the following formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm. And the API will translate the audio to English. Translation Delphi Example OpenAI requires to build a request were you pass the audio file, the model, the temperature (to get a more ore le...

Continue reading