#How to teach chatgpt for the user to use as a knowledge base?

7 messages · Page 1 of 1 (latest)

carmine rose
#

Hey, guys!
How do I create a chat and feed it information about my company for future user inquiry? The information will be inserted via API

astral bane
cedar pulsar
#

i have no clue if it will work this way, but what i am trying atm is to make a pinecone database with embedding data about such things and let it in the background fetch fitting information and only give the necessery part of it to the prrompt

astral bane
#

This approach will work but will not be as efficient as the one I told you earlier, I have done the same thing with my method I told you and it was working perfectly

toxic socket
#

Hello, I am working on a similar project where I want a bot to answer questions about a given organization. Vision when you say "send the prompt with company information" are you implying to send an user message like in the step 4 of this notebook:

https://github.com/openai/openai-cookbook/blob/main/examples/Question_answering_using_embeddings.ipynb

GitHub

Examples and guides for using the OpenAI API. Contribute to openai/openai-cookbook development by creating an account on GitHub.

#

I think that way it would use more tokens and thus would be more expensive every query

astral bane
#

Yeah that's correct, it will take more tokens, but if we want accurate and best results everytime, it's better
If there is no issue downgrading the performance a bit, we can use embedding