Kryvich - Delphi-PRAXiS [en] (original) (raw)
- You may not need to implement this functionality from scratch. Have you read this? https://blog.andreamagni.eu/2025/09/delphi-13-florence-and-mars-curiosity/
- I did a quick test of the local openai/gpt-oss-20b model using LM Studio. It works like a charm in the Delphi CE test app, thanks!
- In Design mode, select the desired column and in the Object Inspector panel you can view/change its properties.
- In StringGrid, check the HeaderSettings.TextSettings.HorzAlign property for the desired column.
- If Delphi had lightweight immutable strings without copy-on-write and reference counting, in addition to the existing string type, would that solve the problem?
- Have you tried asking the free Microsoft Copilot this question? It gives some pretty good advices. https://copilot.microsoft.com/shares/Sp7ZdpdGS3HmXgq57A3QK
- @Maxidonkey Thank you for the hints. AFAIK, when running locally via LM Studio (Ollama), the gpt-oss model exposes a subset of the OpenAI API. Specifically, the Chat Completions-compatible API, which allows for calling built-in tools. The Agents SDK can be used via an additional adapter. The advantage is that the gpt-oss-20b model is pretty smart. Also it can run even on an average office PC. I tested it on a PC with a GeForce GTX 1660 6GB graphics card. Token Speed: up to 12 tok/sec.
- I assume the File2Knowledge project isn't yet synchronized with DelphiGenAI? When I try to compile it, I get a bunch of "Symbol is deprecated" warnings and the following errors: [dcc64 Error] Provider.OpenAI.ExecutionEngine.pas(468): E2003 Undeclared identifier: 'file_search_result' [dcc64 Error] Provider.OpenAI.ExecutionEngine.pas(468): E2250 There is no overloaded version of 'Include' that can be called with these arguments P.S. Replacing file_search_results with file_search_call_results allows the project to compile.
- Do you have any plans to support local LLMs with a compatible OpenAI API? For example, gpt-oss-20b, loaded into LM Studio. This would make it possible to quickly create standalone Windows applications with AI capabilities. Thank you for a great wrapper!
- HTML Component Library has now Fast and low memory JSON parser. 7x faster and 6x less memory compared to default. Although it is not free and not open source.
- Last time I tried it, it tried to install its root certificate into Windows.
- Great! This is a very long awaited addition for me. I hope they also add a case statement for string types
- @David Heffernan This is evident not only in the debugger, but also at runtime. That's the question. Processor - AMD Ryzen 5 3600. @DelphiUdIT That's good! I have the community edition, its version is 29.0.51961.7529, Delphi 12 Update 1.