fixing typos in various files
This commit is contained in:
parent
56f6d09df0
commit
c0cb12bdf3
5 changed files with 6 additions and 6 deletions
|
|
@ -60,7 +60,7 @@ def setup_logging():
|
||||||
shoe_conversation = [
|
shoe_conversation = [
|
||||||
"SalesBot: Hi, I'm Allbirds Assistant! How can I help you today?",
|
"SalesBot: Hi, I'm Allbirds Assistant! How can I help you today?",
|
||||||
"John: Hi, I'm looking for a new pair of shoes.",
|
"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",
|
"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
|
"""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.""",
|
- Dark Grey (Medium Grey Sole)? They use the SuperLight Foam technology.""",
|
||||||
|
|
|
||||||
|
|
@ -540,7 +540,7 @@
|
||||||
"submit_button = widgets.Button(description='Send')\n",
|
"submit_button = widgets.Button(description='Send')\n",
|
||||||
"submit_button.on_click(on_submit)\n",
|
"submit_button.on_click(on_submit)\n",
|
||||||
"\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",
|
"\n",
|
||||||
"display(widgets.VBox([input_box, submit_button, conversation_output]))"
|
"display(widgets.VBox([input_box, submit_button, conversation_output]))"
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -134,7 +134,7 @@ class KuzuDriver(GraphDriver):
|
||||||
return KuzuDriverSession(self)
|
return KuzuDriverSession(self)
|
||||||
|
|
||||||
async def close(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
|
pass
|
||||||
|
|
||||||
def delete_all_indexes(self, database_: str):
|
def delete_all_indexes(self, database_: str):
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,7 @@ class LLMClient(ABC):
|
||||||
self.tracer = tracer
|
self.tracer = tracer
|
||||||
|
|
||||||
def _clean_input(self, input: str) -> str:
|
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:
|
Args:
|
||||||
input: Raw input string to be cleaned
|
input: Raw input string to be cleaned
|
||||||
|
|
@ -97,7 +97,7 @@ class LLMClient(ABC):
|
||||||
# Clean any invalid Unicode
|
# Clean any invalid Unicode
|
||||||
cleaned = input.encode('utf-8', errors='ignore').decode('utf-8')
|
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'
|
zero_width = '\u200b\u200c\u200d\ufeff\u2060'
|
||||||
for char in zero_width:
|
for char in zero_width:
|
||||||
cleaned = cleaned.replace(char, '')
|
cleaned = cleaned.replace(char, '')
|
||||||
|
|
|
||||||
|
|
@ -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
|
- Installs dependencies from the `pyproject.toml` file
|
||||||
- Connects to the database container using the environment variables
|
- Connects to the database container using the environment variables
|
||||||
- Exposes the server on port 8000 (Neo4j) or 8001 (FalkorDB) for HTTP-based SSE transport
|
- 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
|
## Integrating with MCP Clients
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue