Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

fix: n4j example (#753)

Wendong-Fana0ea1aaca247
diff --git a/camel/agents/chat_agent.py b/camel/agents/chat_agent.py
index 5a3e50927..65ed3c764 100644
--- a/camel/agents/chat_agent.py
+++ b/camel/agents/chat_agent.py
@@ -82,7 +82,7 @@ class ChatAgent(BaseAgent):
system_message (BaseMessage): The system message for the chat agent.
model (BaseModelBackend, optional): The model backend to use for
generating responses. (default: :obj:`OpenAIModel` with
- `GPT_3_5_TURBO`)
+ `GPT_4O_MINI`)
api_key (str, optional): The API key for authenticating with the
LLM service. Only OpenAI and Anthropic model supported (default:
:obj:`None`)
diff --git a/examples/knowledge_graph/knowledge_graph_agent.py b/examples/knowledge_graph/knowledge_graph_agent_example.py
similarity index 100%
rename from examples/knowledge_graph/knowledge_graph_agent.py
rename to examples/knowledge_graph/knowledge_graph_agent_example.py
diff --git a/examples/knowledge_graph/neo4j.py b/examples/knowledge_graph/neo4j_example.py
similarity index 95%
rename from examples/knowledge_graph/neo4j.py
rename to examples/knowledge_graph/neo4j_example.py
index 4be6e12fd..caad6a096 100644
--- a/examples/knowledge_graph/neo4j.py
+++ b/examples/knowledge_graph/neo4j_example.py
@@ -26,13 +26,12 @@ print(n4j.query("""MATCH (n) RETURN n AS node"""))
"""
===============================================================================
-[{'node': {}}, {'node': {}}, {'node': {'id': 'CAMEL'}}, {'node': {'id':
-'multi-agent framework'}}]
+[{'node': {'id': 'CAMEL'}}, {'node': {'id': 'multi-agent framework'}}]
===============================================================================
"""
# Get schema from database
-print(n4j.get_schema())
+print(n4j.get_schema)
"""
===============================================================================
@@ -46,7 +45,7 @@ The relationships are the following:
"""
# Get structured schema from database
-print(n4j.get_structured_schema())
+print(n4j.get_structured_schema)
"""
===============================================================================