[dev] delete config json & memory show

This commit is contained in:
jinli.yl 2024-06-21 11:50:17 +08:00
parent a577bb4ce8
commit 1a901e947e
2 changed files with 0 additions and 39 deletions

View file

@ -1,27 +0,0 @@
{
"global_configs": {
"thread_pool_max_count": 5,
"dash_scope_apikey": "",
"open_ai_apikey": "",
"language": "en",
"chat_list": [
"memory_chat"
]
},
"memory_chat": {
"clazz": "chat.memory_chat",
"retrieve": "parse_params,load_profile,extract_time,es_similar,es_keyword,semantic_rank,fuse_rerank",
"generation_model": "dashscope_generation",
"history_msg_count": 3
},
"vector_store": {
"clazz": "storage.base_vector_store",
"index_name": "memory_test",
"password": ""
},
"monitor": {
"clazz": "storage.base_monitor",
"index_name": "memory_test"
},
"workers": "workers"
}

View file

@ -1,12 +0,0 @@
from memory_scope.chat.base_memory_chat import BaseMemoryChat
class MemoryShow(BaseMemoryChat):
def chat_with_memory(self, query: str):
raise NotImplementedError
def run(self):
self.memory_service.start_memory_backend()
result = self.memory_service.retrieve_all()
print(result)