#Providing knowledge base to chatgpt API for customer support

1 messages · Page 1 of 1 (latest)

sage crater
#

Hello, i want to make a customer support chatbot with openAi's api, and i need to upload a knowledge base for the chatbot to use. I tried using file-share provided in the assistant api, but it eats up so many tokens ( about 4000 tokens per query for only 3kb file!). So after some search i decided to use RAG with the api instead, can anyone give me any help or resources to start with?

dim aspen
sage crater
dim aspen
sage crater
#

Well i saw this comment on reddit ( not an answer for me)

dim aspen
sage crater
#

So you suggest i just tweak with file search a lil to reduce the usage?

dim aspen
#

that's the old one

sage crater
#

do u have any suggestions on how to tweak exactly?

dim aspen
#

yes try different values for best result/cost

#

limit number of chunks