|
|
|
|
|
by bayan1234
1220 days ago
|
|
The hack to solve this is to embed each paragraph in your large corpus. Find paragraphs most similar to the user query using embeddings. Put the paragraphs and the raw user query into a prompt template. Send the final generated prompt to gpt3. This actually works surprisingly well. Check out the OpenAI cookbook for examples. |
|