py4web for AI

86 views
Skip to first unread message

Alan Etkin

unread,
Jan 7, 2026, 7:09:50 AMJan 7
to py4web
Hi to all

I'm curious about which kind of apps related to AI are supported by the framework. In general terms, what kind of app could be developed to run over py4web and what are the limitations the project implies. I could use some feedback on people who is connecting a py4web to AI engines or using python based (or another language) libraries for AI.

Thanks

Alan

Christian Varas

unread,
Jan 7, 2026, 7:43:24 AMJan 7
to Alan Etkin, py4web

Hi! You can integrate any AI into your apps using py4web; it isn't framework-dependent. You just need to write a few small functions (documented on their respective sites—Claude, Gemini, ChatGPT, etc.) to communicate with the API.

For example, you could take data submitted through a py4web form and pass it to an AI for corrections, questions, or any other task. Then, using the returned response, you can perform actions like updating values in a database, returning the response to the user, or triggering logic based on the AI’s output.

When communicating with an AI via API, always demand the response in JSON format. This allows you to easily parse the data and perform programmatic actions based on the result.

Almost all AI providers today offer a Python library or clear Python examples on how to consume their services. The only limit here is your imagination and your budget—though most AI APIs are quite affordable!


Greetings.


--
You received this message because you are subscribed to the Google Groups "py4web" group.
To unsubscribe from this group and stop receiving emails from it, send an email to py4web+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/py4web/25926c77-a5dc-4223-8971-d8564edd6856n%40googlegroups.com.

Maurice Waka

unread,
Jan 8, 2026, 1:56:04 AM (13 days ago) Jan 8
to Christian Varas, Alan Etkin, py4web
Yes, it's possible. I used some functions ( I do not have access to them now as examples ) using API to Claude, though there are limitations on how much u could use Claude unless on subscription.
Regards 

Alan Etkin

unread,
Jan 15, 2026, 6:24:53 AM (6 days ago) Jan 15
to py4web
Thanks folks!

What engine would you recommend more suitable to a basical py4web app connected to a chat api? Or else, which do you prefer?

Regards

Hadi Zarkoob

unread,
Jan 15, 2026, 10:46:10 PM (6 days ago) Jan 15
to py4web

I’ve been using the ChatGPT API. The output quality is good, but the response time is a bit slow. I haven’t tested other APIs. I’ve just heard that Gemini is becoming increasingly popular.

Just in case, here’s my use case.


Alan Etkin

unread,
Jan 16, 2026, 8:15:32 AM (5 days ago) Jan 16
to py4web
Is that a py4web app, looks great!

Hadi Zarkoob

unread,
Jan 16, 2026, 1:53:57 PM (5 days ago) Jan 16
to py4web
Yeah, it's fully developed with py4web.

Hadi



Massimo DiPierro

unread,
Jan 17, 2026, 11:00:04 PM (4 days ago) Jan 17
to py4web
nice. I am impressed!

Hadi Zarkoob

unread,
Jan 18, 2026, 2:29:56 AM (3 days ago) Jan 18
to py4web
  Thank you for developing this versatile framework and for your continued improvements!  
Reply all
Reply to author
Forward
0 new messages