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
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...
- Custom Domains
Hi All, Should be a quick config issue. I'm setting up custom domains on the hosted version. I have verified the domain with the CNAME but appwrite isn't gene...