For the complete documentation index, see llms.txt. This page is also available as Markdown.

mind.ask

You can use the ask method to enrich user queries with context pulled from the mind's memory.


const { knowledge } = await mind.ask('How does the user feel about apples?');

console.log("Extracted knowledge: ", response);
Parameter
Type
Description

question

string

The user's question to ask the mind

Response

Property
Type
Description

knowledge

string

The answer generated by the LLM, enriched with memory

Last updated