Since for now we cannot use LLMs with cloud functions: what is the current solution to use e.g. privateGPT Can I write some python backend and can I also use the appwrite auth system for this?
there are some big hurdles with using Appwrite Functions with LLMs:
- OS level dependencies like gcc/c++ are required to build some packages, but those aren't available in the current version.
- the size of LLMs are too big to store anywhere in Appwrite.
- no GPU support so processing would be slow
As you suggested, you can set up your own REST API server with the LLM and then call it from an Appwrite function. This allows you to use Appwrite's auth
This is pretty much the same as using an Appwrite Function to connect to openai. This is what we did for techscrunch. https://github.com/appwrite/techscrunch/tree/main/appwrite/functions/generateArticle
Ok thanks Can’t open the link: 404 not found
Never mind. We had to take it down 😅
Recommended threads
- Getting internal server error 500
Getting internal server error 500 opening my project. Any issues? Thanks
- Payment problems
Its really beginning to frustrate me, last month I was on Pro plan on Appwrite cloud, I chose the option to downgrade next month(this one) to Free plan, and tha...
- Export issue
I just hit my free appwrite limit (500k reads) I'm willing to switch to local db but I can't export the db data from console. I'm getting: 402 Database reads l...