Skip to content
Snippets Groups Projects
Unverified Commit f967b824 authored by Peli de Halleux's avatar Peli de Halleux Committed by GitHub
Browse files

[docs] missing await in sample (#650)

parent c8194693
No related branches found
No related tags found
Loading
...@@ -36,7 +36,7 @@ const processor = new SimilarityPostprocessor({ ...@@ -36,7 +36,7 @@ const processor = new SimilarityPostprocessor({
similarityCutoff: 0.7, similarityCutoff: 0.7,
}); });
const filteredNodes = processor.postprocessNodes(nodes); const filteredNodes = await processor.postprocessNodes(nodes);
// cohere rerank: rerank nodes given query using trained model // cohere rerank: rerank nodes given query using trained model
const reranker = new CohereRerank({ const reranker = new CohereRerank({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment