Skip to content

Examples and guides for using the OpenAI API

cuts trailing spaces

Ted Sanders08d2cd6732b2
diff --git a/examples/Search_augmented_by_query_generation_and_embeddings_reranking.ipynb b/examples/Search_augmented_by_query_generation_and_embeddings_reranking.ipynb
index 1c966b73..be6875e5 100644
--- a/examples/Search_augmented_by_query_generation_and_embeddings_reranking.ipynb
+++ b/examples/Search_augmented_by_query_generation_and_embeddings_reranking.ipynb
@@ -151,10 +151,10 @@
],
"source": [
"QUERIES_INPUT = f\"\"\"\n",
- "Generate an array of search queries that are relevant to this question. \n",
+ "Generate an array of search queries that are relevant to this question.\n",
"Use a variation of related keywords for the queries, trying to be as general as possible.\n",
- "Include as many queries as you can think of, including and excluding terms. \n",
- "For example, include queries like ['keyword_1 keyword_2', 'keyword_1', 'keyword_2']. \n",
+ "Include as many queries as you can think of, including and excluding terms.\n",
+ "For example, include queries like ['keyword_1 keyword_2', 'keyword_1', 'keyword_2'].\n",
"Be creative. The more queries you include, the more likely you are to find relevant results.\n",
"\n",
"User question: {USER_QUESTION}\n",