nodeSaveToMemoryAutoDetectFacts
inline fun <T> AIAgentSubgraphBuilderBase<*, *>.nodeSaveToMemoryAutoDetectFacts(name: String? = null, scopes: List<MemoryScopeType> = listOf(MemoryScopeType.AGENT), subjects: List<MemorySubject> = MemorySubject.registeredSubjects, retrievalModel: LLModel? = null): AIAgentNodeDelegate<T, T>(source)
Node that automatically detects and extracts facts from the chat history and saves them to memory. It uses LLM to identify concepts about user, organization, project, etc.
Parameters
subjects
List of subjects (user, project, organization, etc.) to look for. By default, all subjects will be included and looked for.
scopes
List of memory scopes (Agent, Feature, etc.). By default only Agent scope would be chosen
retrievalModel
LLM that will be used for fact retrieval from the history (by default, the same model as the current one will be used)