Recent

Author Topic: TCHATGPT — An Artificial Intelligence Component Package for Lazarus / Free Pasca  (Read 448 times)

marcelomaurinmartins@gmai

  • New Member
  • *
  • Posts: 14
Hello Lazarus community,

I would like to introduce my open source project:

https://github.com/marcelomaurin/CHATGPT/

TCHATGPT is an Artificial Intelligence component package for Lazarus / Free Pascal, created to bring modern AI resources closer to traditional component-based Lazarus development.

The purpose of the project is to allow Lazarus applications to integrate AI in a practical way, using both external resources and local features.

Today the project already integrates Python with Lazarus and allows the use of several libraries and technologies related to AI, computer vision, image processing, voice, automation, local models and LLM services.

Besides Python integration, the project is also evolving with native Free Pascal resources, aiming to reduce external dependencies in some areas and create its own components for classification, pipeline organization, document generation, automation and local system integration.

The main areas being integrated and developed are:

LLMs and AI APIs
Local models
Python integration with Lazarus
Computer vision
Image processing
Voice and audio
Document generation
Graphs and local classification
AI agents
Automation, IoT and industrial systems
Native Free Pascal resources

The project is still under active development, with functional components, examples, beta areas and experimental modules. The idea is to build a modular suite where developers can install and use only the resources required by each application.

The documentation is also being prepared with translations into several languages, including Portuguese, English, Spanish, French, Italian, Arabic, Chinese, Russian and Japanese, making the project more accessible to the international community.

The goal of TCHATGPT is to show that Lazarus / Free Pascal remains a viable platform for modern applications, including Artificial Intelligence, automation, computer vision and integration with local or cloud-based models.

Feedback, testing, suggestions and contributions are very welcome.

Repository:

https://github.com/marcelomaurin/CHATGPT/


Dzandaa

  • Hero Member
  • *****
  • Posts: 549
  • From C# to Lazarus
Hi,

@marcelomaurinmartins:

I don't think introducing GPT chat into Pascal Lazarus is a good idea.

It's better to use your brain rather than a tool that isn't always reliable. See the article in "The Harvard Gazette".

https://news.harvard.edu/gazette/story/2025/11/is-ai-dulling-our-minds/

AI is trained on data provided by humans; it has a learning curve. If you give it incorrect data and tell it's true, the result is that in testing, if you input incorrect data, the AI ​​will accept it as true. Using chatbots to create a program is easy, but our brains don't train, and in the long run, this risks introducing a deficiency (laziness) in our brains.

And in the future, we won't need programmers anymore, just technicians.

Just my opinion; my wife works on programming neural networks :)

B->
Regards,
Dzandaa

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12430
  • Debugger - SynEdit - and more
    • wiki
Please be reminded of https://forum.lazarus.freepascal.org/index.php/topic,73827.0.html

This thread is about introducing a package. It can be discussed how it can be efficiently used, what it provides, and ideas how to improve it.

This thread should not be turned into a general discussion about should AI be used at all.
That would not be a Pascal related topic, but rather a huge field of its own, which would way exceed the boundaries of this forum. For general, non Pascal related AI versus no-AI we recommand finding a forum that specializes on that question.

Thanks for understanding.



Welcome to marcelomaurinmartins

marcelomaurinmartins@gmai

  • New Member
  • *
  • Posts: 14
Here's the list of components in development.
They are at different stages of maturity.

I ask that you check the links and especially the screenshots, as they help to conceptualize the project.

https://github.com/marcelomaurin/CHATGPT/tree/main/screenshots

https://github.com/marcelomaurin/CHATGPT/tree/main/pacote

Weiss

  • Full Member
  • ***
  • Posts: 244
Hello Lazarus community,

I would like to introduce my open source project:

https://github.com/marcelomaurin/CHATGPT/
..
The purpose of the project is to allow Lazarus applications to integrate AI in a practical way, using both external resources and local features.
..

The documentation is also being prepared with translations into several languages, .., English,..

The goal of TCHATGPT is to show that Lazarus / Free Pascal remains a viable platform for modern applications, including Artificial Intelligence, automation, computer vision and integration with local or cloud-based models.

Feedback, testing, suggestions and contributions are very welcome.

Repository:

https://github.com/marcelomaurin/CHATGPT/

A link to documentation would be breat. Is it something like local LLM which can be integrated into application? Can it be trained on a specific engineering tasks? I opened your git and instantly got lost, there is so much in there. From what you are saying, it sounds good, something I kept thinking about

 

TinyPortal © 2005-2018