Skip to content

Commit 041d4b4

Browse files
committed
docs(message-history): correct distance threshold maximum value
- Fix notebook documentation stating 1.0 as max threshold - Update to correctly state 2.0 as maximum for Redis COSINE distance - Add clarification that Redis COSINE distance range is [0-2] Relates to #407
1 parent 680aeb7 commit 041d4b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/user_guide/07_message_history.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@
276276
"source": [
277277
"You can adjust the degree of semantic similarity needed to be included in your context.\n",
278278
"\n",
279-
"Setting a distance threshold close to 0.0 will require an exact semantic match, while a distance threshold of 1.0 will include everything."
279+
"Setting a distance threshold close to 0.0 will require an exact semantic match, while a distance threshold of 2.0 will include everything (Redis COSINE distance range is [0-2])."
280280
]
281281
},
282282
{

0 commit comments

Comments
 (0)