This commit is contained in:
Didier Durand 2025-10-29 09:32:06 +00:00 committed by GitHub
commit 63bad8a505
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 6 additions and 6 deletions

View file

@ -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.""",

View file

@ -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]))"
]

View file

@ -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):

View file

@ -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, '')

View file

@ -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