How to use File Server correctly? #38
Replies: 2 comments
-
I'm trying to create a model that can generate code for my project based on a specific directory. I've been considering using the Git Server, but I'm not sure if it's the best approach. One option is to synchronize the directory as a knowledge base, but I'd need to constantly update it and also consider individualizing each project's directories for better performance. Can anyone suggest an alternative or guidance on how to move forward? |
Beta Was this translation helpful? Give feedback.
-
Maybe you could try adjusting the system prompt?.. in order to provide some guidance for the LLM.. like they suggest for the memory server: https://github.com/modelcontextprotocol/servers/tree/main/src/memory
I tried this in LibreChat and it worked pretty well.. but I have to say, I'm still trying to work this out in open webui. The extra layer with mcpo -> openapi doesn't make it easier. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been reviewing the documentation, but it seems like there's still some work to be done for my specific use case. I've set up the file server directory as follows:
I'm trying to grant access to all my source code files to my models, but I've noticed that sometimes the listing works, while other times it doesn't return any files or code that doesn't exist. I'm getting a bit frustrated and would love some guidance on how to resolve this issue.
Is there a specific model or configuration that I should use to get it working as expected? I'm using Ollama, Open-webui in Docker, and running the file server from the terminal. I've managed to connect to the fileserver from OWUI, but I'd like to get the listing feature working consistently.
This is the fileserver log, just for example:
Beta Was this translation helpful? Give feedback.
All reactions