Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

[Bug fix] quickfix custom configuration doc (#1125)

Deven Patel73e726f6e3d9
diff --git a/docs/api-reference/advanced/configuration.mdx b/docs/api-reference/advanced/configuration.mdx
index b631e7999..f16488652 100644
--- a/docs/api-reference/advanced/configuration.mdx
+++ b/docs/api-reference/advanced/configuration.mdx
@@ -198,7 +198,7 @@ Alright, let's dive into what each key means in the yaml config above:
- `max_tokens` (Integer): Controls how many tokens are used in the response.
- `top_p` (Float): Controls the diversity of word selection. A higher value (closer to 1) makes word selection more diverse.
- `stream` (Boolean): Controls if the response is streamed back to the user (set to false).
- - `prompt` (String): A prompt for the model to follow when generating responses, requires $context and $query variables.
+ - `prompt` (String): A prompt for the model to follow when generating responses, requires `$context` and `$query` variables.
- `system_prompt` (String): A system prompt for the model to follow when generating responses, in this case, it's set to the style of William Shakespeare.
- `stream` (Boolean): Controls if the response is streamed back to the user (set to false).
- `number_documents` (Integer): Number of documents to pull from the vectordb as context, defaults to 1
diff --git a/embedchain/cli.py b/embedchain/cli.py
index 8414a22d1..a19f8d18e 100644
--- a/embedchain/cli.py
+++ b/embedchain/cli.py
@@ -186,7 +186,7 @@ def create(template, extra_args):
setup_streamlit_io_app()
elif template == "gradio.app":
setup_gradio_app()
- elif template == "hf/gradio.app" or template == "hf/streamlit.app":
+ elif template == "hf/gradio.app" or template == "hf/streamlit.io":
setup_hf_app()
else:
raise ValueError(f"Unknown template '{template}'.")