-
@canadaduane
Yes no problem -
The package does have
pgvector
extension, that should work, however I am not sure I understand how the app needs to be configured for RAG API and the local vectordb. Does anyone have upstream docs for that? I can only find https://www.librechat.ai/docs/configuration/rag_api -
more or less the same question here -> https://forum.cloudron.io/topic/14037/libcrechat-postgresql-pgvector
-
The package does have
pgvector
extension, that should work, however I am not sure I understand how the app needs to be configured for RAG API and the local vectordb. Does anyone have upstream docs for that? I can only find https://www.librechat.ai/docs/configuration/rag_api@nebulon the documentation for RAG API can be found in https://github.com/danny-avila/rag_api
As seen that the pgvector can't be used if the RAG API not installed and running. This RAG API is somehow critical part, if it's not running then the librechat can't have capability that openwebui has for files upload, processing files to embedding model and so on
-
N nebulon moved this topic from App Packaging & Development
-
Hi
I wanted to learn cloudron app packaging, and I am actually working on an AI assistant to generate Clourdon packages bases on source repository. Ibuilt a bunch of nested prompts (with Zed editor which is really cool for this) and had encouraging result so far.
I could generate a working package for Librechat which is requested here.
Sources are here : https://gitlab.com/vlebert/librechat-cloudron
The app can start in Cloudron but I have 2 issues
- SSO with OIDC don't work. It is documented here but I can't make it work.
- There is a sub-app called RAG-API used to interact with uploaded document and which require pgvector extention. How to use this extension in a cloudron package ?
Documentation says vector extension is "whitelisted" : https://docs.cloudron.io/packaging/addons/#postgresql
But I can't create this extention in postgres :
Should it be installed with apt in the Dockerfile ? I made a few attempts but no success...
Any help would be greatly appreciated
@Valexico hey there! Trying this is awesome and thank you so much for putting your ai skills towards packaging.
I came here to offer congratulations on having LibreChat packaged, but to hear you have stated an ai cloudron packaging initiative is just fantastic. I am very glad you are here and thanks for your efforts.
-
Hi @LoudLemur
ThanksFor those who want to dig "AI assisted packaging", here is how I proceeded
- I use Zed Editor which has a nice prompt library tool allowing prompt nesting (prompts in prompts. Sins Zed last "agentic" update, you need to use what they call "text thread" to have this feature/behaviour
- I have a main big prompt with all main specificities of packaging (Cloudron documentation mainly)
- I have smaller prompts about addon to be loaded only when needed
- And then I made specific prompts loading target app source files, and the same for example of packaged apps to guide the AI
I did this in 2024. This could be largely improved in 2025 with more agentic behaviour to let the AI fetch the context it needs
-
See also the prompt put together by @canadaduane here https://git.knownelement.com/KNEL/KNELProductionContainers/src/commit/9f74e0fc3977d368f1ca4846843607c75cd05b1c/Techops/CloudronPackagePrompt.md
-
With an MCP server if you install context7.com it has the ability to ingest all the relevant docs for the agent task. https://github.com/upstash/context7
There are other nice combos of MCPs, perhaps for another thread. Start and share.
-
With an MCP server if you install context7.com it has the ability to ingest all the relevant docs for the agent task. https://github.com/upstash/context7
There are other nice combos of MCPs, perhaps for another thread. Start and share.