-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Required RAG Services" doesn't populate #504
Comments
DevoxxGenie will try to pull/start ChromaDB, same for pulling Nomic embed model from Ollama. |
Window is empty. idea.log shows the following error:
|
Oh yeah, the underlying error is this: |
It looks like your JRE is missing the JNA library. Which JRE are you using to start IntelliJ? |
Using the bundled JetBrains JRE (21.0.5+8-631.30). |
Found something like this, seems like the exact same problem: docker-java/docker-java#2171 |
Just to be sure, the Docker service is running right? |
Yes, and Chroma 0.6.2 is running on it. |
BTW, don't know if it's relevant, but I'm running IntelliJ as a normal user and the user does not have access to the Docker socket. |
Maybe you can try this code in a standalone Java app using Gradle dependencies :
or maven... and then run the getDockerClient method logic. And see if you can connect, if not then you know the problem.
|
After I added my user to the docker group, it started working. It seems the JNA thing in the docker library might just be broken and only triggers if for some reason it can't access the Unix socket in the first place. However, now when I do "start indexing", the count says "indexed segments: 0". Nothing is recorded in the logs. Any idea what the issue could be? |
I just came across this plugin and installed it to use with a local project to find a similar problem where the view is not populated compared to your example images. Using Android studio on OSX here. Just a question, Im wondering why you are forcing the user to have these installed locally? For example, I have a home server for these kind of things so that my laptop can be utilised for other things. Would it make sense to just allow the user to specify where chromadb is running via port and hostname? That way your plugin becomes simpler (not having to worry about docker or anything else) and removes the need for a user to have docker running. Maybe Im missing something here thats necessary for this configuration but I just thought Id ask as Im not really going to install docker on my laptop just for this functionality which seems rather important for such a plugin. |
Adding a hostname+port where ChromaDB is installed could ofc also work, we accept PR's :) |
I'm using IntelliJ 2024.3.2.2 on Ubuntu 24 (Java 21) and when I try to enable the RAG feature, the "RAG Required Services" table does not render anything at all (I installed a docker image of ChromaDB already and I even downgraded it to 0.6.2 but still nothing).
The text was updated successfully, but these errors were encountered: