mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-24 20:09:01 +00:00
community[patch]: docstrings update (#20301)
Added missed docstrings. Format docstings to the consistent form.
This commit is contained in:
@@ -8,8 +8,8 @@ from langchain_core.tools import BaseTool
|
||||
|
||||
|
||||
class CogniswitchKnowledgeRequest(BaseTool):
|
||||
"""
|
||||
A tool for interacting with the Cogniswitch service to answer questions.
|
||||
"""Tool that uses the Cogniswitch service to answer questions.
|
||||
|
||||
name: str = "cogniswitch_knowledge_request"
|
||||
description: str = (
|
||||
"A wrapper around cogniswitch service to answer the question
|
||||
@@ -81,9 +81,9 @@ class CogniswitchKnowledgeRequest(BaseTool):
|
||||
|
||||
|
||||
class CogniswitchKnowledgeStatus(BaseTool):
|
||||
"""
|
||||
A cogniswitch tool for interacting with the Cogniswitch services to know the
|
||||
"""Tool that uses the Cogniswitch services to get the
|
||||
status of the document or url uploaded.
|
||||
|
||||
name: str = "cogniswitch_knowledge_status"
|
||||
description: str = (
|
||||
"A wrapper around cogniswitch services to know the status of
|
||||
@@ -181,8 +181,8 @@ class CogniswitchKnowledgeStatus(BaseTool):
|
||||
|
||||
|
||||
class CogniswitchKnowledgeSourceFile(BaseTool):
|
||||
"""
|
||||
A cogniswitch tool for interacting with the Cogniswitch services to store data.
|
||||
"""Tool that uses the Cogniswitch services to store data from file.
|
||||
|
||||
name: str = "cogniswitch_knowledge_source_file"
|
||||
description: str = (
|
||||
"This calls the CogniSwitch services to analyze & store data from a file.
|
||||
@@ -294,8 +294,8 @@ class CogniswitchKnowledgeSourceFile(BaseTool):
|
||||
|
||||
|
||||
class CogniswitchKnowledgeSourceURL(BaseTool):
|
||||
"""
|
||||
A cogniswitch tool for interacting with the Cogniswitch services to store data.
|
||||
"""Tool that uses the Cogniswitch services to store data from a URL.
|
||||
|
||||
name: str = "cogniswitch_knowledge_source_url"
|
||||
description: str = (
|
||||
"This calls the CogniSwitch services to analyze & store data from a url.
|
||||
|
Reference in New Issue
Block a user