dewy-ts expecting wrong key
Opened this issue · 0 comments
amacdonald-cgs commented
I installed the dewy-ts library for js, and when I make a call as shown below
const contextInformationRetrieval = await knowledgebase.kb.retrieveChunks({
collection: "main",
query: kbQuery,
n: 4
});
console.log('contextInformationRetrieval :', contextInformationRetrieval.text_chunks);
Notice that I had to change 'text_results' (from documentation) to 'text_chunks' in order to get it to work.
I am running Dewy from docker compose.