techleadhd / chatgpt-retrieval

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does this project send all the data to openAi every time i ask a question?

reemster123 opened this issue · comments

Not really a bug or issue. But just curious. It seems you are formatting customdata and adding it to a prompt. So everytime i ask a question all my data is added to the promt? This will cost me a lot of tokens right?

I think it vectorizes your data locally (adds it to a high dimensional array) then when you ask a question the openAI API uses the vectors... FYI I'm just starting to learn too

Ah thats true, watched some youtube vids on it yesterday after i asked the question. Thanks. Great work ;)