help Question Answering

This example demonstrates how to store facts and answer a question using Deepthink's memory and retrieval pipeline. See Quickstart for initialization.

code Question Answering
thinker.remember("Paris is the capital of France.")
thinker.remember("France is in Europe.")

answer = thinker.search("What is the capital of France?")
print(answer)

For higher recall, store multiple related facts before calling search.