Find answers from the community

V
Vayu
Offline, last seen 3 months ago
Joined September 25, 2024
Hello friends! I am also new to LlamaIndex and, to try it out, I wanted to test it in a very simple project: I want to create a chatbox that will answer questions using the GitLabs handbook as its context, found here: https://about.gitlab.com/handbook/ . In the project files, I have cloned the repository (found here: https://gitlab.com/gitlab-com/www-gitlab-com/-/tree/master/sites/handbook/source/handbook ) so the files are local, and they are all of ".html.md" extension.

The handbook has more than 2,000 pages, and the index.json that is created is, accordingly, more than 1GB in size. So far so good (or so it seems), but then the issues come up:

1) The chatbox answers don't really relate to the handbook at all. They seem pretty random and they don't seem to have the context. If I ask it, for example, "What are the six principles?" it will give me some six that are not in the handbook. If I ask it "What are the six principles of the company?" it will tell me it doesn't know what company I'm taking about.

2) It will still answer random questions (say, "what is the capital of Bulgaria?") instead of staying in focus.
12 comments
m
V
L