mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
Update example_usage.py
This commit is contained in:
parent
256d457e3f
commit
c78279de65
1 changed files with 2 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ async def main():
|
|||
working_memory_max_size=5, # Max working memory capacity (small value to trigger memory transfer quickly)
|
||||
episodic_memory_refresh_rate=3, # Episodic memory refresh rate
|
||||
output_dir="./memory_storage", # Memory storage directory
|
||||
number_of_retrieval_pieces=15, # Number of retrieval pieces (must be >= 10, internal uses top_k-9)
|
||||
number_of_retrieval_pieces=15, # Number of retrieval pieces
|
||||
drop_threshold=0.1 # Similarity threshold
|
||||
)
|
||||
|
||||
|
|
@ -478,3 +478,4 @@ if __name__ == "__main__":
|
|||
# python example_usage.py # Run full example
|
||||
# python example_usage.py simple # Run simplified example
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue