const retriever = new ChaindeskRetriever({ datastoreId: "DATASTORE_ID", apiKey: "CHAINDESK_API_KEY", topK: 8,});const docs = await retriever.getRelevantDocuments("hello"); Copy
const retriever = new ChaindeskRetriever({ datastoreId: "DATASTORE_ID", apiKey: "CHAINDESK_API_KEY", topK: 8,});const docs = await retriever.getRelevantDocuments("hello");
Optional
Generated using TypeDoc
Example