Commit 3c64821
committed
Use OpenAI's built-in support for score threshold
Rather than unnecessarily removing the nodes ourselves.
See https://platform.openai.com/docs/guides/retrieval#ranking1 parent 97bfed0 commit 3c64821
1 file changed
+1
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | 100 | | |
106 | 101 | | |
107 | 102 | | |
| |||
0 commit comments