diff --git a/python/semantic_kernel/agents/bedrock/bedrock_agent.py b/python/semantic_kernel/agents/bedrock/bedrock_agent.py index e58476e28931..2c0f6abf4972 100644 --- a/python/semantic_kernel/agents/bedrock/bedrock_agent.py +++ b/python/semantic_kernel/agents/bedrock/bedrock_agent.py @@ -201,7 +201,6 @@ async def create_and_prepare_agent( function_choice_behavior (FunctionChoiceBehavior, optional): The function choice behavior for accessing the kernel functions and filters. Only FunctionChoiceType.AUTO is supported. arguments (KernelArguments, optional): The kernel arguments. - prompt_template_config (PromptTemplateConfig, optional): The prompt template configuration. env_file_path (str, optional): The path to the environment file. env_file_encoding (str, optional): The encoding of the environment file. @@ -698,7 +697,6 @@ async def create_channel(self, thread_id: str | None = None) -> AgentChannel: """Create a ChatHistoryChannel. Args: - chat_history: The chat history for the channel. If None, a new ChatHistory instance will be created. thread_id: The ID of the thread. If None, a new thread will be created. Returns: diff --git a/python/semantic_kernel/agents/orchestration/group_chat.py b/python/semantic_kernel/agents/orchestration/group_chat.py index 65c4640e72a5..f90fcf4ab5bd 100644 --- a/python/semantic_kernel/agents/orchestration/group_chat.py +++ b/python/semantic_kernel/agents/orchestration/group_chat.py @@ -201,7 +201,6 @@ async def filter_results( Args: chat_history (ChatHistory): The chat history of the group chat. - participant_descriptions (dict[str, str]): The descriptions of the participants in the group chat. """ ... diff --git a/python/semantic_kernel/connectors/ai/open_ai/exceptions/content_filter_ai_exception.py b/python/semantic_kernel/connectors/ai/open_ai/exceptions/content_filter_ai_exception.py index 5e4bbd123af3..92016ade79c7 100644 --- a/python/semantic_kernel/connectors/ai/open_ai/exceptions/content_filter_ai_exception.py +++ b/python/semantic_kernel/connectors/ai/open_ai/exceptions/content_filter_ai_exception.py @@ -31,7 +31,6 @@ def from_inner_error_result(cls, inner_error_results: dict[str, Any]) -> "Conten """Creates a ContentFilterResult from the inner error results. Args: - key (str): The key to get the inner error result from. inner_error_results (Dict[str, Any]): The inner error results. Returns: diff --git a/python/semantic_kernel/connectors/memory_stores/azure_cognitive_search/azure_cognitive_search_memory_store.py b/python/semantic_kernel/connectors/memory_stores/azure_cognitive_search/azure_cognitive_search_memory_store.py index 71c5069f4d32..d6a4970af47f 100644 --- a/python/semantic_kernel/connectors/memory_stores/azure_cognitive_search/azure_cognitive_search_memory_store.py +++ b/python/semantic_kernel/connectors/memory_stores/azure_cognitive_search/azure_cognitive_search_memory_store.py @@ -116,7 +116,6 @@ async def create_collection( collection_name (str): The name of the collection to create. vector_config (HnswVectorSearchAlgorithmConfiguration): Optional search algorithm configuration (default: {None}). - semantic_config (SemanticConfiguration): Optional search index configuration (default: {None}). search_resource_encryption_key (SearchResourceEncryptionKey): Optional Search Encryption Key (default: {None}). diff --git a/python/semantic_kernel/contents/chat_message_content.py b/python/semantic_kernel/contents/chat_message_content.py index 58ccebf0736a..e556b93db5b1 100644 --- a/python/semantic_kernel/contents/chat_message_content.py +++ b/python/semantic_kernel/contents/chat_message_content.py @@ -235,9 +235,6 @@ def __str__(self) -> str: def to_element(self) -> "Element": """Convert the ChatMessageContent to an XML Element. - Args: - root_key: str - The key to use for the root of the XML Element. - Returns: Element - The XML Element representing the ChatMessageContent. """ diff --git a/python/semantic_kernel/contents/streaming_chat_message_content.py b/python/semantic_kernel/contents/streaming_chat_message_content.py index 772316747548..bfdf70a3bf2a 100644 --- a/python/semantic_kernel/contents/streaming_chat_message_content.py +++ b/python/semantic_kernel/contents/streaming_chat_message_content.py @@ -208,9 +208,6 @@ def __add__(self, other: "StreamingChatMessageContent") -> "StreamingChatMessage def to_element(self) -> "Element": """Convert the StreamingChatMessageContent to an XML Element. - Args: - root_key: str - The key to use for the root of the XML Element. - Returns: Element - The XML Element representing the StreamingChatMessageContent. """ diff --git a/python/semantic_kernel/core_plugins/text_memory_plugin.py b/python/semantic_kernel/core_plugins/text_memory_plugin.py index 190d66604459..63354892987d 100644 --- a/python/semantic_kernel/core_plugins/text_memory_plugin.py +++ b/python/semantic_kernel/core_plugins/text_memory_plugin.py @@ -95,7 +95,6 @@ async def save( Args: text: The text to save to the memory - kernel: The kernel instance, that has a memory store collection: The collection to save the information key: The unique key to associate with the information diff --git a/python/semantic_kernel/kernel.py b/python/semantic_kernel/kernel.py index 359cceb6a19f..e0e81b96efac 100644 --- a/python/semantic_kernel/kernel.py +++ b/python/semantic_kernel/kernel.py @@ -609,7 +609,6 @@ def as_mcp_server( Tool names over MCP's recommended 128 characters are exposed with a warning. Args: - kernel: The kernel instance to use. prompts: A list of prompt templates to expose as prompts. server_name: The name of the server. version: The version of the server. diff --git a/python/semantic_kernel/memory/semantic_text_memory_base.py b/python/semantic_kernel/memory/semantic_text_memory_base.py index c26336d7174e..93b11c01fa6b 100644 --- a/python/semantic_kernel/memory/semantic_text_memory_base.py +++ b/python/semantic_kernel/memory/semantic_text_memory_base.py @@ -99,7 +99,6 @@ async def search( query (str): The query to search for. limit (int): The maximum number of results to return. (default: {1}) min_relevance_score (float): The minimum relevance score to return. (default: {0.0}) - with_embeddings (bool): Whether to return the embeddings of the results. (default: {False}) Returns: List[MemoryQueryResult]: The list of MemoryQueryResult found.