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

Image Generator OpenAI Delphi (5 / 5)

OpenAI API allows given a prompt and/or an input image, the model will generate a new image. The Images API provides three methods for interacting with images:1. Creating images from scratch based on a text prompt2. Creating edits of an existing image based on a new text prompt3. Creating variations of an existing image Image Generator Delphi ...

Continue reading

sgcWebSockets 2023.2

Rad Studio [+] : Added Support for Rad Studio 11.3. [+] : New OpenAPI Pascal Parser, imports any openAPI 3.0, Swagger 1.0 or 2.0 specification and creates a pascal interface file. [+] : Improved HTTP.SYS Server, new event OnTCPConnect, is called AFTER the TCP connection and BEFORE Websocket handshake or HTTP read request. [+] : Improved WebSocket S...

Continue reading

OpenAPI Delphi Parser

I am happy to announce the sgcOpenAPI Pascal Parser, a brand new product allowing import an OpenAPI Specification and generate a Pascal Interface. The sgcOpenAPI Parser supports the following specifications: OpenAPI 3.*Swagger 2.* (automatically converted from 2.0 to 3.0)Swagger 1.* (automatically converted from 1.0 to 3.0) Supports the follow...

Continue reading

Delphi Server Sent Events (SSE) Client

From sgcWebSockets 2023.2.0 the HTTP/1 Client has been improved and supports SSE requests. Remember than SSE was already supported on Server components but not on client. SSE (Server-Sent Events) is a web technology for efficiently receiving push notifications from a server to a client's browser. It's a standard that allows a web page to receive up...

Continue reading

Mapping Groups and Connections

In a previous post I Introduced the new Groups feature on WebSocket Servers. This post I will show how to combine the WebSocket Groups with the Client Connections to identify and store the user data in a client connection. sgcWebSockets library allows you to create your own objects and link to a TsgcWSConnection class, so you can access at any time...

Continue reading

WebSocket Groups: Channels, Users and more

From sgcWebSockets 2023.2.0 a new feature has been implemented to improve Server Message Broadcasting. Groups is a new feature in sgcWebSockets library, that allows you to organize connections (representing clients, such as browsers) into named groups. This allows you to broadcast messages to all connections in a group instead of sen...

Continue reading

sgcWebSockets 2023.1

Rad Studio [+] : Updated Telegram libraries to version 1.8.9. [+] : Improved Telegram Client, when there is an error while loading the library on MacOS, now the error message with the reason is caught. [+] : Improved Indy Server, new property SSLOptions.OpenSSL_Options.CipherList to customize the Cipher List. [*] : Fixed Bug IOCP IOHandler and SSL,...

Continue reading

Using ChatGPT from Delphi

ChatGPT is a large language model developed by OpenAI. It was trained using a technique called unsupervised learning, which means that it was fed a large dataset of text and learned to predict the next word in a sequence based on the words that came before it. This allows ChatGPT to generate human-like text, which can be used for a variety of purpo...

Continue reading

Updated Telegram Libraries for Delphi, CBuilder & .NET

sgcWebSockets supports Telegram TDLib, so you can build your own Telegram Client for any Delphi personality: Windows 32Windows 64Mac OSXMac OSXARM64iOSAndroidLinux64 The Telegram libraries have been updated to the latest TDLib version 1.8.9. Customers with an Active subscription can download from private account. These New libraries are only compat...

Continue reading

ChatGPT & Delphi

ChatGPT, which stands for Chat Generative Pre-trained Transformer, is a chatbot developed by OpenAI. ChatGPT is built on top of OpenAI's GPT-3.5 family of large language models, and is fine-tuned with both supervised and reinforcement learning techniques (from Wikipedia). We've been playing with chatgpt and test if it was able to produce some type ...

Continue reading
Tags:

sgcWebSockets 2022.10

Rad Studio  [+] : New Client API: Bybit: cryptocurrency exchange and trading platform. Implement WebSocket protocol for: Spot, Inverse Perpetual, USDT Perpetual and Inverse Futures. [+] : Improved Demo "05.Crypto\01.CryptoAPI" which shows how Bybit client API works. [+] : Improved WhatsApp API to version 15.0. [+] : Improved WhatsApp API, new ...

Continue reading

Indy Setup Rad Studio Delphi and CBuilder

From sgcWebSockets 2022.10.0, the sgcIndy package can be installed using a windows setup. The sgcIndy setup uninstall the Standard Indy version that comes with Rad Studio, install the new Indy version and register the required paths. Installation  Execute the Installer.First you must set your username/password of your private eSeGeCe account. ...

Continue reading

Bybit Client API

From sgcWebSockets 2022.10.0 Bybit Crypto Exchange is supported. The following APIs supported WebSocket API: connect to a websocket server and provides real-time market data updates, account changes and more.REST API: send HTTP requests to get market data, place orders, account data... The following product APIs are implemented: Spot (V3)USDT ...

Continue reading