diff --git a/autogen/agentchat/contrib/qdrant_retrieve_user_proxy_agent.py b/autogen/agentchat/contrib/qdrant_retrieve_user_proxy_agent.py index 0e2e0d6c9946..1efeb3c1926e 100644 --- a/autogen/agentchat/contrib/qdrant_retrieve_user_proxy_agent.py +++ b/autogen/agentchat/contrib/qdrant_retrieve_user_proxy_agent.py @@ -75,7 +75,7 @@ def __init__( - 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. diff --git a/autogen/agentchat/contrib/retrieve_user_proxy_agent.py b/autogen/agentchat/contrib/retrieve_user_proxy_agent.py index e07c2e578171..949afcc96786 100644 --- a/autogen/agentchat/contrib/retrieve_user_proxy_agent.py +++ b/autogen/agentchat/contrib/retrieve_user_proxy_agent.py @@ -134,7 +134,7 @@ def __init__( - 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__). diff --git a/autogen/agentchat/conversable_agent.py b/autogen/agentchat/conversable_agent.py index b322d20a1361..08f711600577 100644 --- a/autogen/agentchat/conversable_agent.py +++ b/autogen/agentchat/conversable_agent.py @@ -1278,7 +1278,7 @@ def generate_init_message(self, **context) -> Union[str, Dict]: """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.