mirror of
https://github.com/microsoft/autogen.git
synced 2026-01-26 22:18:30 -05:00
fix: Fix typo (#1068)
Co-authored-by: Jieyu Zhang <jieyuz2@cs.washington.edu>
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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__).
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user