so my requirement is like this
- I have 100 paragraphs
- I want to put 100 paragraphs to database
- when the user asks something, the engine will automatically answer by looking for answers in the 100 paragraphs earlier
- I have 100 paragraphs about ‘PHP programming learning materials’
- I input all the
learning materials into the database
- I asked 'how to replace the string`? then the engine will answer by looking for answers in those 100 paragraphs
so my requirement is engine that without
training phrases, the answers can be automatically searched in those
is this possible in chatGPT?
ChatGPT, not reliably; GPT-3, absolutely. I believe
text-embedding-ada-002 is the way to go. @raymonddavey just informed me about its use cases here:
Embedding will find you the context you need to answer the question.
Then it will depend on how you phrase the final question you send to GPT. You may have to send the request to a CodeX model if it is PHP. But Davinci might be able to help too
I assume you want it to modify the code for your use-case. In this situation, a prompt to Codex would probably be the best bet