govind-kumarr / simple_rag_dashboard

Chat with your docs. The deployed link is not updated. Please setup project locally to find issues.
23 stars 32 forks source link

Add references to the docs used for answering query #4

Open govind-kumarr opened 4 months ago

govind-kumarr commented 4 months ago

Add references to the docs used for answering query

coldn00dles commented 4 months ago

Greetings, the sources can be returned back by getting metadata (containing the source url) from the relevant document method that fetches them on the basis of the query and adding them as a part of the answer. Requesting you to assign this issue to me @govind-kumarr

govind-kumarr commented 4 months ago

@coldn00dles right. I've added all the info in the metadata. go for it.

coldn00dles commented 4 months ago

Could you provide the OpenAI API key somewhere private? Can't seem to find it anyplace @govind-kumarr Also would request you to provide instructions for running it locally

govind-kumarr commented 4 months ago

@coldn00dles Actually I am also API key of my friend. you can get one free from Openai. Or you can just do the implementation i will test it out after with my key.

govind-kumarr commented 4 months ago

@coldn00dles You can check out readme in the node_server directory. Basically, you need Mongdb and chroma running. Also don't forget to setup env variables.

tejaswini4996 commented 4 months ago

shall I be the part to reolve thi s issue