Skip to content
Snippets Groups Projects
Commit 4d990d01 authored by Logan Markewich's avatar Logan Markewich
Browse files

remove some 'a' methods

parent 2683121e
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,7 @@ const nodesWithScore: NodeWithScore[] = [ ...@@ -40,7 +40,7 @@ const nodesWithScore: NodeWithScore[] = [
}, },
]; ];
const response = await responseSynthesizer.asynthesize( const response = await responseSynthesizer.synthesize(
"What age am I?", "What age am I?",
nodesWithScore nodesWithScore
); );
......
...@@ -11,7 +11,7 @@ const retriever = vector_index.asRetriever() ...@@ -11,7 +11,7 @@ const retriever = vector_index.asRetriever()
retriever.similarityTopK = 3; retriever.similarityTopK = 3;
// Fetch nodes! // Fetch nodes!
const nodesWithScore = await retriever.aretrieve("query string"); const nodesWithScore = await retriever.retrieve("query string");
``` ```
## API Reference ## API Reference
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment