mirror of
https://github.com/openai/openai-cookbook
synced 2024-11-04 06:00:33 +00:00
[Fix] Typo and grammar fix in Question_answering_using_embeddings.ipynb
This commit is contained in:
parent
82d81a9ac0
commit
3fd80b7312
@ -70,7 +70,7 @@
|
||||
"\n",
|
||||
"This example notebook uses embedding-based search. [Embeddings](https://platform.openai.com/docs/guides/embeddings) are simple to implement and work especially well with questions, as questions often don't lexically overlap with their answers.\n",
|
||||
"\n",
|
||||
"Consider embeddings-only search as a starting point for your own system. Better search systems might combine multiple search methods, along with features like popularity, recency, user history, redundancy with prior search results, click rate data, etc. Q&A retrieval performance may be also be improved with techniques like [HyDE](https://arxiv.org/abs/2212.10496), in which questions are first transformed into hypothetical answers before being embedded. Similarly, GPT can also potentially improve search results by automatically transforming questions into sets of keywords or search terms."
|
||||
"Consider embeddings-only search as a starting point for your own system. Better search systems might combine multiple search methods, along with features like popularity, recency, user history, redundancy with prior search results, click rate data, etc. Q&A retrieval performance may also be improved with techniques like [HyDE](https://arxiv.org/abs/2212.10496), in which questions are first transformed into hypothetical answers before being embedded. Similarly, GPT can also potentially improve search results by automatically transforming questions into sets of keywords or search terms."
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -905,7 +905,7 @@
|
||||
"Below, we define a function `ask` that:\n",
|
||||
"- Takes a user query\n",
|
||||
"- Searches for text relevant to the query\n",
|
||||
"- Stuffs that text into a mesage for GPT\n",
|
||||
"- Stuffs that text into a message for GPT\n",
|
||||
"- Sends the message to GPT\n",
|
||||
"- Returns GPT's answer"
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user