Views
No views yet
1pip install numpy jieba
2git clone https://github.com/mhx0628/thought-retriever1from thought_retriever import ThoughtMemory, ThoughtConfig
2
3config = ThoughtConfig(project_path=".", language="zh")
4memory = ThoughtMemory(config=config)
5
6memory.add_knowledge("小明今年10岁,喜欢画画和踢足球")
7results = memory.retrieve("小明喜欢什么")