OpenChat icon indicating copy to clipboard operation
OpenChat copied to clipboard

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

Open ilikenwf opened this issue 2 years ago • 7 comments

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

ilikenwf avatar Jun 04 '23 20:06 ilikenwf

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"

michsindlinger avatar Jun 04 '23 20:06 michsindlinger

@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

gharbat avatar Jun 04 '23 21:06 gharbat

@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.

michsindlinger avatar Jun 04 '23 21:06 michsindlinger

@michsindlinger

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

gharbat avatar Jun 04 '23 21:06 gharbat

@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

michsindlinger avatar Jun 05 '23 06:06 michsindlinger

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.

Antazia avatar Jun 14 '23 09:06 Antazia

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

LordWasteds avatar Jul 09 '23 11:07 LordWasteds