From dcd26abde3b96e761534015e29cbdb84d13d9404 Mon Sep 17 00:00:00 2001 From: femto Date: Fri, 7 Feb 2025 17:03:52 +0800 Subject: [PATCH] result --- config/config.yaml.example | 12 ++++++------ .../code_contests/evalute_code_contests_hard.py | 1 + minion/configs/config.py | 1 + requirements.txt | 1 + 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/config/config.yaml.example b/config/config.yaml.example index ddfa1f2c..956c1dcb 100644 --- a/config/config.yaml.example +++ b/config/config.yaml.example @@ -62,11 +62,11 @@ mem0: on_disk: true embedding_model_dims: 768 - graph_store: - provider: "neo4j" - config: - url: "${NEO4J_URL}" - username: "${NEO4J_USERNAME}" - password: "${NEO4J_PASSWORD}" +# graph_store: +# provider: "neo4j" +# config: +# url: "${NEO4J_URL}" +# username: "${NEO4J_USERNAME}" +# password: "${NEO4J_PASSWORD}" diff --git a/examples/smart_minion/code_contests/evalute_code_contests_hard.py b/examples/smart_minion/code_contests/evalute_code_contests_hard.py index 69d8eef5..697c16cf 100644 --- a/examples/smart_minion/code_contests/evalute_code_contests_hard.py +++ b/examples/smart_minion/code_contests/evalute_code_contests_hard.py @@ -243,6 +243,7 @@ async def solve_question(item): return answer model = "gpt-4o" +#model = "claude" #model = "default" llm = create_llm_provider(config.models.get(model)) diff --git a/minion/configs/config.py b/minion/configs/config.py index 72d915a7..b24e7a32 100644 --- a/minion/configs/config.py +++ b/minion/configs/config.py @@ -58,6 +58,7 @@ class Config(BaseModel): llm: LLMConfig models: Dict[str, LLMConfig] ell: Dict[str, Any] = Field(default_factory=dict) + mem0: Dict[str, Any] = Field(default_factory=dict) class Config: populate_by_name = True diff --git a/requirements.txt b/requirements.txt index 86ae1d6e..a7da644e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,6 +13,7 @@ jinja2 intercode-bench rpyc mem0ai +ollama embedchain>=0.1.120 nltk matplotlib