diff --git a/examples/ecommerce/runner.py b/examples/ecommerce/runner.py index 0a3533fc..e9b4ef2d 100644 --- a/examples/ecommerce/runner.py +++ b/examples/ecommerce/runner.py @@ -60,7 +60,7 @@ def setup_logging(): shoe_conversation = [ "SalesBot: Hi, I'm Allbirds Assistant! How can I help you today?", "John: Hi, I'm looking for a new pair of shoes.", - 'SalesBot: Of course! What kinde of material are you looking for?', + 'SalesBot: Of course! What kind of material are you looking for?', "John: I'm looking for shoes made out of wool", """SalesBot: We have just what you are looking for, how do you like our Men's SuperLight Wool Runners - Dark Grey (Medium Grey Sole)? They use the SuperLight Foam technology.""", diff --git a/examples/langgraph-agent/agent.ipynb b/examples/langgraph-agent/agent.ipynb index cef3df7d..be69409d 100644 --- a/examples/langgraph-agent/agent.ipynb +++ b/examples/langgraph-agent/agent.ipynb @@ -540,7 +540,7 @@ "submit_button = widgets.Button(description='Send')\n", "submit_button.on_click(on_submit)\n", "\n", - "conversation_output.append_stdout('Asssistant: Hello, how can I help you find shoes today?')\n", + "conversation_output.append_stdout('Assistant: Hello, how can I help you find shoes today?')\n", "\n", "display(widgets.VBox([input_box, submit_button, conversation_output]))" ] diff --git a/graphiti_core/driver/kuzu_driver.py b/graphiti_core/driver/kuzu_driver.py index 8a04a4ac..fb773d55 100644 --- a/graphiti_core/driver/kuzu_driver.py +++ b/graphiti_core/driver/kuzu_driver.py @@ -134,7 +134,7 @@ class KuzuDriver(GraphDriver): return KuzuDriverSession(self) async def close(self): - # Do not explicity close the connection, instead rely on GC. + # Do not explicitly close the connection, instead rely on GC. pass def delete_all_indexes(self, database_: str): diff --git a/graphiti_core/llm_client/client.py b/graphiti_core/llm_client/client.py index 0f51dc04..11abbd29 100644 --- a/graphiti_core/llm_client/client.py +++ b/graphiti_core/llm_client/client.py @@ -86,7 +86,7 @@ class LLMClient(ABC): self.tracer = tracer def _clean_input(self, input: str) -> str: - """Clean input string of invalid unicode and control characters. + """Clean input string of invalid Unicode and control characters. Args: input: Raw input string to be cleaned @@ -97,7 +97,7 @@ class LLMClient(ABC): # Clean any invalid Unicode cleaned = input.encode('utf-8', errors='ignore').decode('utf-8') - # Remove zero-width characters and other invisible unicode + # Remove zero-width characters and other invisible Unicode zero_width = '\u200b\u200c\u200d\ufeff\u2060' for char in zero_width: cleaned = cleaned.replace(char, '') diff --git a/mcp_server/README.md b/mcp_server/README.md index e43dc1d5..b4ca960b 100644 --- a/mcp_server/README.md +++ b/mcp_server/README.md @@ -239,7 +239,7 @@ This will start the database(s) and the Graphiti MCP server(s). The Docker setup - Installs dependencies from the `pyproject.toml` file - Connects to the database container using the environment variables - Exposes the server on port 8000 (Neo4j) or 8001 (FalkorDB) for HTTP-based SSE transport -- Includes healthchecks to ensure databases are fully operational before starting the MCP server +- Includes health checks to ensure databases are fully operational before starting the MCP server ## Integrating with MCP Clients