Genrative AI

Hi i am intersting in building AI app.My users will uplaod theior docs (Complex PDFs words,csv etc) and they can talk with them and get insights. Is it possible to integrate a fastAPI python backend in opensaas?Because my tech stack is in python (langchain,llamaindex,llamaparser and other AI frameworks)
5 Replies
kapa.ai
kapa.ai•4mo ago
Hi @Petar Vukovic. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Based on the information provided in the knowledge sources, Wasp currently works with React, Node.js, and Prisma. There is no direct mention of support for Python or FastAPI. However, it's important to note that Wasp is a tool for developers, and it requires knowledge of coding to fix errors, add features, and deploy it source (https://discord.com/channels/686873244791210014/1206921679608090646). For integrating AI capabilities, there are examples of Wasp apps that have integrated OpenAI's ChatGPT, which you can refer to for guidance source (https://discord.com/channels/686873244791210014/1222074172499431468). If you're looking to integrate a Python backend into your Wasp project, you might need to consider other solutions or workarounds, as Wasp doesn't natively support Python. It's recommended to reach out to the Wasp community or check their official documentation for more specific guidance. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @Petar Vukovic, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
Milica
Milica•4mo ago
Hey Petar 🙂 We do have an issue dedicated to supporting Python - https://github.com/wasp-lang/wasp/issues/1940 TLDR of it: One way is to run a Python server as a (micro)service, on your own, and then call its API from Wasp's JS/TS code. But you have to spin and manage that service on your own. Or, you could just have Python code available on the server where you are running Wasp server code, and then call it as a process (e.g. via exec) from your Wasp JS/TS code. There is no need to maintain a Python server then, but you are also limited to calling it each time as a new process. Also, in both of these cases, you can't easily reuse our Prisma/DB logic, and many other features.
GitHub
Add support for Python backend · Issue #1940 · wasp-lang/wasp
We had multiple people ask if they could use Python backend in Wasp. Mostly Flask was assumed, as a backend server. React as frontend is ok, even great. I will list here some ideas on how Python co...
MEE6
MEE6•4mo ago
Wohooo @Milica, you just became a Waspeteer level 9!
Petar Vukovic
Petar VukovicOP•4mo ago
Thanks! @Milica
martinsos
martinsos•4mo ago
Although we actually had a user reuse Prisma witih some smart tricks, check it out in the GH issue -> so not supported at the top level, but actually doable if you want it hard enough :D!
Want results from more Discord servers?
Add your server