OpenAI Assistants Streaming

The OpenAI Assistant Client has been improved to implement the streaming responses when calling a run thread. Before this new feature, it requires to poll the run object status till it's completed. Now you can use the new Stream events to handle the streaming messages. Streaming Events Instead of waiting the full response from the assistant, y...

Continue reading

sgcWebSockets 2024.10

Rad Studio [+] : Improved OpenAI Assistant, now allows to upload files and ask questions about the content of these files. [+] : Improved OpenAI Assistant Demo, a new option has been added to upload files. The demo shows how to upload the sgcWebSockets.pdf manual and ask questions about it. [+] : Improved sgcIndy Setup, new Option "Avoid Storing Ne...

Continue reading

OpenAI Assistants File Search

From sgcWebSockets 2024.10.0 you can use the OpenAI Assistants to search in your own files instead of using the generic model. File Search augments the Assistant with knowledge from outside its model, such as proprietary product information or documents provided by your users. OpenAI automatically parses and chunks your documents, creates and store...

Continue reading

Google FCM HTTP v1 Delphi

From sgcWebSockets 2024.9.0 there is a new client component to Send Notifications using Google Firebase Cloud Messaging and the latest API HTTP v1. Apps using the deprecated FCM legacy APIs for HTTP and XMPP should migrate to the HTTP v1 API at the earliest opportunity. Sending messages (including upstream messages) with those APIs was deprecated o...

Continue reading

OpenAPI Parser Bundle Schemas

From sgcOpenAPI 2024.9.0 the parser has been improved with the following new features: - Bundle Specification: if the specification is built with multiple schemas, the parser can bundle into a single specification file. - Output Parser Parameters: when creating the pascal interface, the parameters used to import the specifications are written in th...

Continue reading

OpenSSL 3 Legacy support

OpenSSL 3.0 moved several deprecated or insecure algorithms into an internal library module called legacy provider. It is not loaded by default, so apps (or their language runtimes) that use OpenSSL for cryptographic operations cannot use such algorithms when loading certificates, creating message digests ... If you try to load a p12 certificate fo...

Continue reading

sgcWebSockets 2024.5

Rad Studio [+] : Improved Binance API Client, new place order functions: PlaceMarketQuoteOrder, PlaceStopTrailingOrder, PlaceTakeProfitOrder, PlaceTakeProfitTrailingOrder and PlaceLimitMakerOrder. [+] : Improved Binance API Client, new method: GetPriceTickers to request multiple symbol prices in a single request. [+] : Improved Binance API REST Cli...

Continue reading

sgcIndy XOAuth2 Delphi

From sgcIndy 2024.5.0 the XOAuth2 Authentication mechanism is supported. The SASL XOAUTH2 mechanism for use with the IMAP AUTHENTICATE, POP AUTH, and SMTP AUTH commands. This mechanism allows the use of OAuth 2.0 Access Tokens to authenticate to a user's Gmail account for example. TIdSASLXOAuth2 The TIdSASLXOAuth2 has the event OnAuthenticate which...

Continue reading

Delphi PKCE OAuth2

From sgcWebSockets 2024.5.0 PKCE, which stands for "Proof of Key Code Exchange" is an extension of the OAuth 2.0 protocol that helps prevent code interception attacks. PKCE is supported on OAuth2 Server and Client Components. What is PKCE PKCE (Proof Key for Code Exchange) is an OAuth 2.0 security enhancement designed to protect against a...

Continue reading

sgcWebSockets 2024.4

Rad Studio [+] : Improved Binance API Client, the convert endpoints have been added to the REST_API class. [+] : Added the property Options.Software to customize the Server HTTP Header value. [+] : New Demo showing how to use OpenAI to convert code from different languages, the demo is located in the folder "15.AI\02.Applications\04.CodeConverter"....

Continue reading