openchatai / OpenChat

LLMs custom-chatbots console ⚡
https://open.cx
MIT License
5.19k stars 641 forks source link

Demo doesn't really seem to have any knowledge about git repos after sync #17

Open ilikenwf opened 1 year ago

ilikenwf commented 1 year ago

No matter what I try it tells me to be more specific or that it has no knowledge.

michsindlinger commented 1 year ago

Same for me. The bot tells me he has access to my repo but when I ask him something specific about a class etc. he is "hallucinating"

gharbat commented 1 year ago

@ilikenwf @michsindlinger The demo only scan the 1st level of the repo (not recursively) because of the lack of resources, so it might not get the full picture of a given repo, however, the self-hosted version will do a full recursive scan for the given repo.

Also, can you try to give it ~2 minutes to full ingest all data, duo to the high load it might be a bit slow to ingest everything, and make sure you are in AI programmer mode.

Screenshot 2023-06-04 at 11 07 30 PM

Let me know if this fix the problem

michsindlinger commented 1 year ago

@gharbat Thanks for the fast response.

I used the self hosted version to test it, but it seems he couldn't fetch the data from my repo. It's a private github repo. I added a GITHUB_ACCESS_TOKEN, so it should work actually.

gharbat commented 1 year ago

@michsindlinger

How you added the GITHUB_ACCESS_TOKEN? you should add it inside the llm-server container.

michsindlinger commented 1 year ago

@gharbat I added it to the docker-compose.yml (see the atached screenshot). Gitguh also shows me that the new generated key has been used.

grafik
Antazia commented 1 year ago

It's simply because you need to chose "Pair Programmer" while talking to your chatbot, otherwise he won't have any context and will tell you he has no knowledge.

LordWasteds commented 1 year ago

Having the same issue, locally hosting it with everything setup properly, still the bot has no idea about repo