Mmidwinter1993update api reference
5c0fa3c9创建于 2025年7月4日历史提交

Package core.memory

interface Memory

func search(question: String): Array<String>
  • Description: According to the user question, find related content in the memory
  • Parameters:
    • question: String, The user question to search for in the memory

func update

func update(segment: String): Unit
  • Description: Update the memory
  • Parameters:
    • segment: String, The segment to update in the memory