fix: Fix typo (#1068)

Co-authored-by: Jieyu Zhang <jieyuz2@cs.washington.edu>
This commit is contained in:
hugo-syn
2023-12-28 08:24:54 +01:00
committed by GitHub
parent 14a9672032
commit 223ac652fd
3 changed files with 3 additions and 3 deletions

View File

@@ -75,7 +75,7 @@ class QdrantRetrieveUserProxyAgent(RetrieveUserProxyAgent):
- custom_text_split_function (Optional, Callable): a custom function to split a string into a list of strings.
Default is None, will use the default function in `autogen.retrieve_utils.split_text_to_chunks`.
- custom_text_types (Optional, List[str]): a list of file types to be processed. Default is `autogen.retrieve_utils.TEXT_FORMATS`.
This only applies to files under the directories in `docs_path`. Explictly included files and urls will be chunked regardless of their types.
This only applies to files under the directories in `docs_path`. Explicitly included files and urls will be chunked regardless of their types.
- recursive (Optional, bool): whether to search documents recursively in the docs_path. Default is True.
- parallel (Optional, int): How many parallel workers to use for embedding. Defaults to the number of CPU cores.
- on_disk (Optional, bool): Whether to store the collection on disk. Default is False.

View File

@@ -134,7 +134,7 @@ class RetrieveUserProxyAgent(UserProxyAgent):
- custom_text_split_function (Optional, Callable): a custom function to split a string into a list of strings.
Default is None, will use the default function in `autogen.retrieve_utils.split_text_to_chunks`.
- custom_text_types (Optional, List[str]): a list of file types to be processed. Default is `autogen.retrieve_utils.TEXT_FORMATS`.
This only applies to files under the directories in `docs_path`. Explictly included files and urls will be chunked regardless of their types.
This only applies to files under the directories in `docs_path`. Explicitly included files and urls will be chunked regardless of their types.
- recursive (Optional, bool): whether to search documents recursively in the docs_path. Default is True.
**kwargs (dict): other kwargs in [UserProxyAgent](../user_proxy_agent#__init__).

View File

@@ -1278,7 +1278,7 @@ class ConversableAgent(Agent):
"""Generate the initial message for the agent.
Override this function to customize the initial message based on user's request.
If not overriden, "message" needs to be provided in the context.
If not overridden, "message" needs to be provided in the context.
Args:
**context: any context information, and "message" parameter needs to be provided.