memoryscope.core.worker.frontend.set_query_workerο
- class memoryscope.core.worker.frontend.set_query_worker.SetQueryWorker(embedding_model: str = '', generation_model: str = '', rank_model: str = '', **kwargs)[source]ο
Bases:
MemoryBaseWorker
The SetQueryWorker class is responsible for setting a query and its associated timestamp into the context, utilizing either provided chat parameters or details from the most recent chat message.