id stringlengths 14 15 | text stringlengths 13 2.7k | source stringlengths 60 181 |
|---|---|---|
0ac03a530cd2-3 | Parameters
input – The input to the runnable.
config – The config to use for the runnable.
diff – Whether to yield diffs between each step, or the current state.
with_streamed_output_list – Whether to yield the streamed_output list.
include_names – Only include logs with these names.
include_types – Only include logs w... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.steam.tool.SteamWebAPIQueryRun.html |
0ac03a530cd2-4 | Parameters
include – A list of fields to include in the config schema.
Returns
A pydantic model that can be used to validate config.
configurable_alternatives(which: ConfigurableField, *, default_key: str = 'default', prefix_keys: bool = False, **kwargs: Union[Runnable[Input, Output], Callable[[], Runnable[Input, Outpu... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.steam.tool.SteamWebAPIQueryRun.html |
0ac03a530cd2-5 | deep – set to True to make a deep copy of the model
Returns
new model instance
dict(*, include: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, exclude: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, by_alias: bool = False, skip_defaults: Optional[bool] = None, exclude_unset: bool = False, ex... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.steam.tool.SteamWebAPIQueryRun.html |
0ac03a530cd2-6 | config – A config to use when invoking the runnable.
The config supports standard keys like ‘tags’, ‘metadata’ for tracing
purposes, ‘max_concurrency’ for controlling how much work to do
in parallel, and other keys. Please refer to the RunnableConfig
for more details.
Returns
The output of the runnable.
classmethod is_... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.steam.tool.SteamWebAPIQueryRun.html |
0ac03a530cd2-7 | classmethod parse_obj(obj: Any) → Model¶
classmethod parse_raw(b: Union[str, bytes], *, content_type: unicode = None, encoding: unicode = 'utf8', proto: Protocol = None, allow_pickle: bool = False) → Model¶
run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Op... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.steam.tool.SteamWebAPIQueryRun.html |
0ac03a530cd2-8 | classmethod validate(value: Any) → Model¶
with_config(config: Optional[RunnableConfig] = None, **kwargs: Any) → Runnable[Input, Output]¶
Bind config to a Runnable, returning a new Runnable.
with_fallbacks(fallbacks: Sequence[Runnable[Input, Output]], *, exceptions_to_handle: Tuple[Type[BaseException], ...] = (<class 'E... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.steam.tool.SteamWebAPIQueryRun.html |
0ac03a530cd2-9 | Create a new Runnable that retries the original runnable on exceptions.
Parameters
retry_if_exception_type – A tuple of exception types to retry on
wait_exponential_jitter – Whether to add jitter to the wait time
between retries
stop_after_attempt – The maximum number of attempts to make before giving up
Returns
A new ... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.steam.tool.SteamWebAPIQueryRun.html |
d809c193ded9-0 | langchain_community.tools.ainetwork.owner.AINOwnerOps¶
class langchain_community.tools.ainetwork.owner.AINOwnerOps[source]¶
Bases: AINBaseTool
Tool for owner operations.
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a va... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.ainetwork.owner.AINOwnerOps.html |
d809c193ded9-1 | param callbacks: Callbacks = None¶
Callbacks to be called during tool execution.
param description: str = "\nRules for `owner` in AINetwork Blockchain database.\nAn address set as `owner` can modify permissions according to its granted authorities\n\n## Path Rule\n- (/[a-zA-Z_0-9]+)+\n- Permission checks ascend from th... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.ainetwork.owner.AINOwnerOps.html |
d809c193ded9-2 | param metadata: Optional[Dict[str, Any]] = None¶
Optional metadata associated with the tool. Defaults to None
This metadata will be associated with each call to this tool,
and passed as arguments to the handlers defined in callbacks.
You can use these to eg identify a specific instance of a tool with its use case.
para... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.ainetwork.owner.AINOwnerOps.html |
d809c193ded9-3 | Default implementation of ainvoke, calls invoke from a thread.
The default implementation allows usage of async code even if
the runnable did not implement a native async version of invoke.
Subclasses should override this method if they can run asynchronously.
async arun(tool_input: Union[str, Dict], verbose: Optional[... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.ainetwork.owner.AINOwnerOps.html |
d809c193ded9-4 | jsonpatch ops that describe how the state of the run has changed in each
step, and the final state of the run.
The jsonpatch ops can be applied in order to construct state.
Parameters
input – The input to the runnable.
config – The config to use for the runnable.
diff – Whether to yield diffs between each step, or the ... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.ainetwork.owner.AINOwnerOps.html |
d809c193ded9-5 | The type of config this runnable accepts specified as a pydantic model.
To mark a field as configurable, see the configurable_fields
and configurable_alternatives methods.
Parameters
include – A list of fields to include in the config schema.
Returns
A pydantic model that can be used to validate config.
configurable_al... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.ainetwork.owner.AINOwnerOps.html |
d809c193ded9-6 | deep – set to True to make a deep copy of the model
Returns
new model instance
dict(*, include: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, exclude: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, by_alias: bool = False, skip_defaults: Optional[bool] = None, exclude_unset: bool = False, ex... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.ainetwork.owner.AINOwnerOps.html |
d809c193ded9-7 | config – A config to use when invoking the runnable.
The config supports standard keys like ‘tags’, ‘metadata’ for tracing
purposes, ‘max_concurrency’ for controlling how much work to do
in parallel, and other keys. Please refer to the RunnableConfig
for more details.
Returns
The output of the runnable.
classmethod is_... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.ainetwork.owner.AINOwnerOps.html |
d809c193ded9-8 | classmethod parse_obj(obj: Any) → Model¶
classmethod parse_raw(b: Union[str, bytes], *, content_type: unicode = None, encoding: unicode = 'utf8', proto: Protocol = None, allow_pickle: bool = False) → Model¶
run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Op... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.ainetwork.owner.AINOwnerOps.html |
d809c193ded9-9 | classmethod validate(value: Any) → Model¶
with_config(config: Optional[RunnableConfig] = None, **kwargs: Any) → Runnable[Input, Output]¶
Bind config to a Runnable, returning a new Runnable.
with_fallbacks(fallbacks: Sequence[Runnable[Input, Output]], *, exceptions_to_handle: Tuple[Type[BaseException], ...] = (<class 'E... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.ainetwork.owner.AINOwnerOps.html |
d809c193ded9-10 | Create a new Runnable that retries the original runnable on exceptions.
Parameters
retry_if_exception_type – A tuple of exception types to retry on
wait_exponential_jitter – Whether to add jitter to the wait time
between retries
stop_after_attempt – The maximum number of attempts to make before giving up
Returns
A new ... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.ainetwork.owner.AINOwnerOps.html |
c624dc60556b-0 | langchain_community.tools.google_cloud.texttospeech.GoogleCloudTextToSpeechTool¶
class langchain_community.tools.google_cloud.texttospeech.GoogleCloudTextToSpeechTool[source]¶
Bases: BaseTool
Tool that queries the Google Cloud Text to Speech API.
In order to set this up, follow instructions at:
https://cloud.google.com... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.google_cloud.texttospeech.GoogleCloudTextToSpeechTool.html |
c624dc60556b-1 | Whether to return the tool’s output directly. Setting this to True means
that after the tool is called, the AgentExecutor will stop looping.
param tags: Optional[List[str]] = None¶
Optional list of tags associated with the tool. Defaults to None
These tags will be associated with each call to this tool,
and passed as a... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.google_cloud.texttospeech.GoogleCloudTextToSpeechTool.html |
c624dc60556b-2 | Subclasses should override this method if they can run asynchronously.
async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, *, tags: Optional[List[... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.google_cloud.texttospeech.GoogleCloudTextToSpeechTool.html |
c624dc60556b-3 | Parameters
input – The input to the runnable.
config – The config to use for the runnable.
diff – Whether to yield diffs between each step, or the current state.
with_streamed_output_list – Whether to yield the streamed_output list.
include_names – Only include logs with these names.
include_types – Only include logs w... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.google_cloud.texttospeech.GoogleCloudTextToSpeechTool.html |
c624dc60556b-4 | Parameters
include – A list of fields to include in the config schema.
Returns
A pydantic model that can be used to validate config.
configurable_alternatives(which: ConfigurableField, *, default_key: str = 'default', prefix_keys: bool = False, **kwargs: Union[Runnable[Input, Output], Callable[[], Runnable[Input, Outpu... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.google_cloud.texttospeech.GoogleCloudTextToSpeechTool.html |
c624dc60556b-5 | deep – set to True to make a deep copy of the model
Returns
new model instance
dict(*, include: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, exclude: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, by_alias: bool = False, skip_defaults: Optional[bool] = None, exclude_unset: bool = False, ex... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.google_cloud.texttospeech.GoogleCloudTextToSpeechTool.html |
c624dc60556b-6 | config – A config to use when invoking the runnable.
The config supports standard keys like ‘tags’, ‘metadata’ for tracing
purposes, ‘max_concurrency’ for controlling how much work to do
in parallel, and other keys. Please refer to the RunnableConfig
for more details.
Returns
The output of the runnable.
classmethod is_... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.google_cloud.texttospeech.GoogleCloudTextToSpeechTool.html |
c624dc60556b-7 | classmethod parse_obj(obj: Any) → Model¶
classmethod parse_raw(b: Union[str, bytes], *, content_type: unicode = None, encoding: unicode = 'utf8', proto: Protocol = None, allow_pickle: bool = False) → Model¶
run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Op... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.google_cloud.texttospeech.GoogleCloudTextToSpeechTool.html |
c624dc60556b-8 | classmethod validate(value: Any) → Model¶
with_config(config: Optional[RunnableConfig] = None, **kwargs: Any) → Runnable[Input, Output]¶
Bind config to a Runnable, returning a new Runnable.
with_fallbacks(fallbacks: Sequence[Runnable[Input, Output]], *, exceptions_to_handle: Tuple[Type[BaseException], ...] = (<class 'E... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.google_cloud.texttospeech.GoogleCloudTextToSpeechTool.html |
c624dc60556b-9 | Create a new Runnable that retries the original runnable on exceptions.
Parameters
retry_if_exception_type – A tuple of exception types to retry on
wait_exponential_jitter – Whether to add jitter to the wait time
between retries
stop_after_attempt – The maximum number of attempts to make before giving up
Returns
A new ... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.google_cloud.texttospeech.GoogleCloudTextToSpeechTool.html |
6bd45acf2d92-0 | langchain_community.tools.office365.create_draft_message.O365CreateDraftMessage¶
class langchain_community.tools.office365.create_draft_message.O365CreateDraftMessage[source]¶
Bases: O365BaseTool
Tool for creating a draft email in Office 365.
Create a new model by parsing and validating input data from keyword argument... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.office365.create_draft_message.O365CreateDraftMessage.html |
6bd45acf2d92-1 | param return_direct: bool = False¶
Whether to return the tool’s output directly. Setting this to True means
that after the tool is called, the AgentExecutor will stop looping.
param tags: Optional[List[str]] = None¶
Optional list of tags associated with the tool. Defaults to None
These tags will be associated with each... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.office365.create_draft_message.O365CreateDraftMessage.html |
6bd45acf2d92-2 | Subclasses should override this method if they can run asynchronously.
async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, *, tags: Optional[List[... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.office365.create_draft_message.O365CreateDraftMessage.html |
6bd45acf2d92-3 | Parameters
input – The input to the runnable.
config – The config to use for the runnable.
diff – Whether to yield diffs between each step, or the current state.
with_streamed_output_list – Whether to yield the streamed_output list.
include_names – Only include logs with these names.
include_types – Only include logs w... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.office365.create_draft_message.O365CreateDraftMessage.html |
6bd45acf2d92-4 | Parameters
include – A list of fields to include in the config schema.
Returns
A pydantic model that can be used to validate config.
configurable_alternatives(which: ConfigurableField, *, default_key: str = 'default', prefix_keys: bool = False, **kwargs: Union[Runnable[Input, Output], Callable[[], Runnable[Input, Outpu... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.office365.create_draft_message.O365CreateDraftMessage.html |
6bd45acf2d92-5 | deep – set to True to make a deep copy of the model
Returns
new model instance
dict(*, include: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, exclude: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, by_alias: bool = False, skip_defaults: Optional[bool] = None, exclude_unset: bool = False, ex... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.office365.create_draft_message.O365CreateDraftMessage.html |
6bd45acf2d92-6 | config – A config to use when invoking the runnable.
The config supports standard keys like ‘tags’, ‘metadata’ for tracing
purposes, ‘max_concurrency’ for controlling how much work to do
in parallel, and other keys. Please refer to the RunnableConfig
for more details.
Returns
The output of the runnable.
classmethod is_... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.office365.create_draft_message.O365CreateDraftMessage.html |
6bd45acf2d92-7 | classmethod parse_obj(obj: Any) → Model¶
classmethod parse_raw(b: Union[str, bytes], *, content_type: unicode = None, encoding: unicode = 'utf8', proto: Protocol = None, allow_pickle: bool = False) → Model¶
run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Op... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.office365.create_draft_message.O365CreateDraftMessage.html |
6bd45acf2d92-8 | classmethod validate(value: Any) → Model¶
with_config(config: Optional[RunnableConfig] = None, **kwargs: Any) → Runnable[Input, Output]¶
Bind config to a Runnable, returning a new Runnable.
with_fallbacks(fallbacks: Sequence[Runnable[Input, Output]], *, exceptions_to_handle: Tuple[Type[BaseException], ...] = (<class 'E... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.office365.create_draft_message.O365CreateDraftMessage.html |
6bd45acf2d92-9 | Create a new Runnable that retries the original runnable on exceptions.
Parameters
retry_if_exception_type – A tuple of exception types to retry on
wait_exponential_jitter – Whether to add jitter to the wait time
between retries
stop_after_attempt – The maximum number of attempts to make before giving up
Returns
A new ... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.office365.create_draft_message.O365CreateDraftMessage.html |
4e445a3cbfd0-0 | langchain_community.tools.edenai.edenai_base_tool.EdenaiTool¶
class langchain_community.tools.edenai.edenai_base_tool.EdenaiTool[source]¶
Bases: BaseTool
the base tool for all the EdenAI Tools .
you should have
the environment variable EDENAI_API_KEY set with your API token.
You can find your token here: https://app.ed... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.edenai.edenai_base_tool.EdenaiTool.html |
4e445a3cbfd0-1 | The unique name of the tool that clearly communicates its purpose.
param providers: List[str] [Required]¶
provider to use for the API call.
param return_direct: bool = False¶
Whether to return the tool’s output directly. Setting this to True means
that after the tool is called, the AgentExecutor will stop looping.
para... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.edenai.edenai_base_tool.EdenaiTool.html |
4e445a3cbfd0-2 | Subclasses should override this method if they can run asynchronously.
async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, *, tags: Optional[List[... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.edenai.edenai_base_tool.EdenaiTool.html |
4e445a3cbfd0-3 | Parameters
input – The input to the runnable.
config – The config to use for the runnable.
diff – Whether to yield diffs between each step, or the current state.
with_streamed_output_list – Whether to yield the streamed_output list.
include_names – Only include logs with these names.
include_types – Only include logs w... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.edenai.edenai_base_tool.EdenaiTool.html |
4e445a3cbfd0-4 | Parameters
include – A list of fields to include in the config schema.
Returns
A pydantic model that can be used to validate config.
configurable_alternatives(which: ConfigurableField, *, default_key: str = 'default', prefix_keys: bool = False, **kwargs: Union[Runnable[Input, Output], Callable[[], Runnable[Input, Outpu... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.edenai.edenai_base_tool.EdenaiTool.html |
4e445a3cbfd0-5 | deep – set to True to make a deep copy of the model
Returns
new model instance
dict(*, include: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, exclude: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, by_alias: bool = False, skip_defaults: Optional[bool] = None, exclude_unset: bool = False, ex... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.edenai.edenai_base_tool.EdenaiTool.html |
4e445a3cbfd0-6 | Parameters
input – The input to the runnable.
config – A config to use when invoking the runnable.
The config supports standard keys like ‘tags’, ‘metadata’ for tracing
purposes, ‘max_concurrency’ for controlling how much work to do
in parallel, and other keys. Please refer to the RunnableConfig
for more details.
Retur... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.edenai.edenai_base_tool.EdenaiTool.html |
4e445a3cbfd0-7 | classmethod parse_obj(obj: Any) → Model¶
classmethod parse_raw(b: Union[str, bytes], *, content_type: unicode = None, encoding: unicode = 'utf8', proto: Protocol = None, allow_pickle: bool = False) → Model¶
run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Op... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.edenai.edenai_base_tool.EdenaiTool.html |
4e445a3cbfd0-8 | classmethod validate(value: Any) → Model¶
with_config(config: Optional[RunnableConfig] = None, **kwargs: Any) → Runnable[Input, Output]¶
Bind config to a Runnable, returning a new Runnable.
with_fallbacks(fallbacks: Sequence[Runnable[Input, Output]], *, exceptions_to_handle: Tuple[Type[BaseException], ...] = (<class 'E... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.edenai.edenai_base_tool.EdenaiTool.html |
4e445a3cbfd0-9 | Create a new Runnable that retries the original runnable on exceptions.
Parameters
retry_if_exception_type – A tuple of exception types to retry on
wait_exponential_jitter – Whether to add jitter to the wait time
between retries
stop_after_attempt – The maximum number of attempts to make before giving up
Returns
A new ... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.edenai.edenai_base_tool.EdenaiTool.html |
dbf0267f4418-0 | langchain_community.tools.file_management.delete.FileDeleteInput¶
class langchain_community.tools.file_management.delete.FileDeleteInput[source]¶
Bases: BaseModel
Input for DeleteFileTool.
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be ... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.file_management.delete.FileDeleteInput.html |
dbf0267f4418-1 | deep – set to True to make a deep copy of the model
Returns
new model instance
dict(*, include: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, exclude: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, by_alias: bool = False, skip_defaults: Optional[bool] = None, exclude_unset: bool = False, ex... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.file_management.delete.FileDeleteInput.html |
dbf0267f4418-2 | classmethod schema(by_alias: bool = True, ref_template: unicode = '#/definitions/{model}') → DictStrAny¶
classmethod schema_json(*, by_alias: bool = True, ref_template: unicode = '#/definitions/{model}', **dumps_kwargs: Any) → unicode¶
classmethod update_forward_refs(**localns: Any) → None¶
Try to update ForwardRefs on... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.file_management.delete.FileDeleteInput.html |
349c1760a9c5-0 | langchain_community.tools.tavily_search.tool.TavilyInput¶
class langchain_community.tools.tavily_search.tool.TavilyInput[source]¶
Bases: BaseModel
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
param query:... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.tavily_search.tool.TavilyInput.html |
349c1760a9c5-1 | deep – set to True to make a deep copy of the model
Returns
new model instance
dict(*, include: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, exclude: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, by_alias: bool = False, skip_defaults: Optional[bool] = None, exclude_unset: bool = False, ex... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.tavily_search.tool.TavilyInput.html |
349c1760a9c5-2 | classmethod schema(by_alias: bool = True, ref_template: unicode = '#/definitions/{model}') → DictStrAny¶
classmethod schema_json(*, by_alias: bool = True, ref_template: unicode = '#/definitions/{model}', **dumps_kwargs: Any) → unicode¶
classmethod update_forward_refs(**localns: Any) → None¶
Try to update ForwardRefs on... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.tavily_search.tool.TavilyInput.html |
a8a556952e8d-0 | langchain_community.tools.edenai.ocr_invoiceparser.EdenAiParsingInvoiceTool¶
class langchain_community.tools.edenai.ocr_invoiceparser.EdenAiParsingInvoiceTool[source]¶
Bases: EdenaiTool
Tool that queries the Eden AI Invoice parsing API.
for api reference check edenai documentation:
https://docs.edenai.co/reference/ocr_... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.edenai.ocr_invoiceparser.EdenAiParsingInvoiceTool.html |
a8a556952e8d-1 | Handle the content of the ToolException thrown.
param is_async: bool = False¶
param language: Optional[str] = None¶
language of the image passed to the model.
param metadata: Optional[Dict[str, Any]] = None¶
Optional metadata associated with the tool. Defaults to None
This metadata will be associated with each call to ... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.edenai.ocr_invoiceparser.EdenAiParsingInvoiceTool.html |
a8a556952e8d-2 | Default implementation runs ainvoke in parallel using asyncio.gather.
The default implementation of batch works well for IO bound runnables.
Subclasses should override this method if they can batch more efficiently;
e.g., if the underlying runnable uses an API which supports a batch mode.
async ainvoke(input: Union[str... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.edenai.ocr_invoiceparser.EdenAiParsingInvoiceTool.html |
a8a556952e8d-3 | Subclasses should override this method if they support streaming output.
async astream_log(input: Any, config: Optional[RunnableConfig] = None, *, diff: bool = True, with_streamed_output_list: bool = True, include_names: Optional[Sequence[str]] = None, include_types: Optional[Sequence[str]] = None, include_tags: Option... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.edenai.ocr_invoiceparser.EdenAiParsingInvoiceTool.html |
a8a556952e8d-4 | Default implementation of atransform, which buffers input and calls astream.
Subclasses should override this method if they can start producing output while
input is still being generated.
batch(inputs: List[Input], config: Optional[Union[RunnableConfig, List[RunnableConfig]]] = None, *, return_exceptions: bool = False... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.edenai.ocr_invoiceparser.EdenAiParsingInvoiceTool.html |
a8a556952e8d-5 | Default values are respected, but no other validation is performed.
Behaves as if Config.extra = ‘allow’ was set since it adds all passed values
copy(*, include: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, exclude: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, update: Optional[DictStrAny... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.edenai.ocr_invoiceparser.EdenAiParsingInvoiceTool.html |
a8a556952e8d-6 | namespace is [“langchain”, “llms”, “openai”]
get_output_schema(config: Optional[RunnableConfig] = None) → Type[BaseModel]¶
Get a pydantic model that can be used to validate output to the runnable.
Runnables that leverage the configurable_fields and configurable_alternatives
methods will have a dynamic output schema tha... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.edenai.ocr_invoiceparser.EdenAiParsingInvoiceTool.html |
a8a556952e8d-7 | Generate a JSON representation of the model, include and exclude arguments as per dict().
encoder is an optional function to supply as default to json.dumps(), other arguments as per json.dumps().
classmethod lc_id() → List[str]¶
A unique identifier for this class for serialization purposes.
The unique identifier is a ... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.edenai.ocr_invoiceparser.EdenAiParsingInvoiceTool.html |
a8a556952e8d-8 | stream(input: Input, config: Optional[RunnableConfig] = None, **kwargs: Optional[Any]) → Iterator[Output]¶
Default implementation of stream, which calls invoke.
Subclasses should override this method if they support streaming output.
to_json() → Union[SerializedConstructor, SerializedNotImplemented]¶
to_json_not_implem... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.edenai.ocr_invoiceparser.EdenAiParsingInvoiceTool.html |
a8a556952e8d-9 | Bind lifecycle listeners to a Runnable, returning a new Runnable.
on_start: Called before the runnable starts running, with the Run object.
on_end: Called after the runnable finishes running, with the Run object.
on_error: Called if the runnable throws an error, with the Run object.
The Run object contains information ... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.edenai.ocr_invoiceparser.EdenAiParsingInvoiceTool.html |
a8a556952e8d-10 | property input_schema: Type[pydantic.main.BaseModel]¶
The type of input this runnable accepts specified as a pydantic model.
property is_single_input: bool¶
Whether the tool only accepts a single input.
property lc_attributes: Dict¶
List of attribute names that should be included in the serialized kwargs.
These attribu... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.edenai.ocr_invoiceparser.EdenAiParsingInvoiceTool.html |
3ccedcd727f1-0 | langchain_community.tools.file_management.utils.FileValidationError¶
class langchain_community.tools.file_management.utils.FileValidationError[source]¶
Error for paths outside the root directory. | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.file_management.utils.FileValidationError.html |
3726aa9a9f7b-0 | langchain_community.tools.google_serper.tool.GoogleSerperResults¶
class langchain_community.tools.google_serper.tool.GoogleSerperResults[source]¶
Bases: BaseTool
Tool that queries the Serper.dev Google Search API
and get back json.
Create a new model by parsing and validating input data from keyword arguments.
Raises V... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.google_serper.tool.GoogleSerperResults.html |
3726aa9a9f7b-1 | param return_direct: bool = False¶
Whether to return the tool’s output directly. Setting this to True means
that after the tool is called, the AgentExecutor will stop looping.
param tags: Optional[List[str]] = None¶
Optional list of tags associated with the tool. Defaults to None
These tags will be associated with each... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.google_serper.tool.GoogleSerperResults.html |
3726aa9a9f7b-2 | Subclasses should override this method if they can run asynchronously.
async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, *, tags: Optional[List[... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.google_serper.tool.GoogleSerperResults.html |
3726aa9a9f7b-3 | Parameters
input – The input to the runnable.
config – The config to use for the runnable.
diff – Whether to yield diffs between each step, or the current state.
with_streamed_output_list – Whether to yield the streamed_output list.
include_names – Only include logs with these names.
include_types – Only include logs w... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.google_serper.tool.GoogleSerperResults.html |
3726aa9a9f7b-4 | Parameters
include – A list of fields to include in the config schema.
Returns
A pydantic model that can be used to validate config.
configurable_alternatives(which: ConfigurableField, *, default_key: str = 'default', prefix_keys: bool = False, **kwargs: Union[Runnable[Input, Output], Callable[[], Runnable[Input, Outpu... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.google_serper.tool.GoogleSerperResults.html |
3726aa9a9f7b-5 | deep – set to True to make a deep copy of the model
Returns
new model instance
dict(*, include: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, exclude: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, by_alias: bool = False, skip_defaults: Optional[bool] = None, exclude_unset: bool = False, ex... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.google_serper.tool.GoogleSerperResults.html |
3726aa9a9f7b-6 | config – A config to use when invoking the runnable.
The config supports standard keys like ‘tags’, ‘metadata’ for tracing
purposes, ‘max_concurrency’ for controlling how much work to do
in parallel, and other keys. Please refer to the RunnableConfig
for more details.
Returns
The output of the runnable.
classmethod is_... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.google_serper.tool.GoogleSerperResults.html |
3726aa9a9f7b-7 | classmethod parse_obj(obj: Any) → Model¶
classmethod parse_raw(b: Union[str, bytes], *, content_type: unicode = None, encoding: unicode = 'utf8', proto: Protocol = None, allow_pickle: bool = False) → Model¶
run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Op... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.google_serper.tool.GoogleSerperResults.html |
3726aa9a9f7b-8 | classmethod validate(value: Any) → Model¶
with_config(config: Optional[RunnableConfig] = None, **kwargs: Any) → Runnable[Input, Output]¶
Bind config to a Runnable, returning a new Runnable.
with_fallbacks(fallbacks: Sequence[Runnable[Input, Output]], *, exceptions_to_handle: Tuple[Type[BaseException], ...] = (<class 'E... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.google_serper.tool.GoogleSerperResults.html |
3726aa9a9f7b-9 | Create a new Runnable that retries the original runnable on exceptions.
Parameters
retry_if_exception_type – A tuple of exception types to retry on
wait_exponential_jitter – Whether to add jitter to the wait time
between retries
stop_after_attempt – The maximum number of attempts to make before giving up
Returns
A new ... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.google_serper.tool.GoogleSerperResults.html |
6fbaf27fe39a-0 | langchain_community.tools.merriam_webster.tool.MerriamWebsterQueryRun¶
class langchain_community.tools.merriam_webster.tool.MerriamWebsterQueryRun[source]¶
Bases: BaseTool
Tool that searches the Merriam-Webster API.
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError i... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.merriam_webster.tool.MerriamWebsterQueryRun.html |
6fbaf27fe39a-1 | The unique name of the tool that clearly communicates its purpose.
param return_direct: bool = False¶
Whether to return the tool’s output directly. Setting this to True means
that after the tool is called, the AgentExecutor will stop looping.
param tags: Optional[List[str]] = None¶
Optional list of tags associated with... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.merriam_webster.tool.MerriamWebsterQueryRun.html |
6fbaf27fe39a-2 | Subclasses should override this method if they can run asynchronously.
async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, *, tags: Optional[List[... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.merriam_webster.tool.MerriamWebsterQueryRun.html |
6fbaf27fe39a-3 | Parameters
input – The input to the runnable.
config – The config to use for the runnable.
diff – Whether to yield diffs between each step, or the current state.
with_streamed_output_list – Whether to yield the streamed_output list.
include_names – Only include logs with these names.
include_types – Only include logs w... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.merriam_webster.tool.MerriamWebsterQueryRun.html |
6fbaf27fe39a-4 | Parameters
include – A list of fields to include in the config schema.
Returns
A pydantic model that can be used to validate config.
configurable_alternatives(which: ConfigurableField, *, default_key: str = 'default', prefix_keys: bool = False, **kwargs: Union[Runnable[Input, Output], Callable[[], Runnable[Input, Outpu... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.merriam_webster.tool.MerriamWebsterQueryRun.html |
6fbaf27fe39a-5 | deep – set to True to make a deep copy of the model
Returns
new model instance
dict(*, include: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, exclude: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, by_alias: bool = False, skip_defaults: Optional[bool] = None, exclude_unset: bool = False, ex... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.merriam_webster.tool.MerriamWebsterQueryRun.html |
6fbaf27fe39a-6 | config – A config to use when invoking the runnable.
The config supports standard keys like ‘tags’, ‘metadata’ for tracing
purposes, ‘max_concurrency’ for controlling how much work to do
in parallel, and other keys. Please refer to the RunnableConfig
for more details.
Returns
The output of the runnable.
classmethod is_... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.merriam_webster.tool.MerriamWebsterQueryRun.html |
6fbaf27fe39a-7 | classmethod parse_obj(obj: Any) → Model¶
classmethod parse_raw(b: Union[str, bytes], *, content_type: unicode = None, encoding: unicode = 'utf8', proto: Protocol = None, allow_pickle: bool = False) → Model¶
run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Op... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.merriam_webster.tool.MerriamWebsterQueryRun.html |
6fbaf27fe39a-8 | classmethod validate(value: Any) → Model¶
with_config(config: Optional[RunnableConfig] = None, **kwargs: Any) → Runnable[Input, Output]¶
Bind config to a Runnable, returning a new Runnable.
with_fallbacks(fallbacks: Sequence[Runnable[Input, Output]], *, exceptions_to_handle: Tuple[Type[BaseException], ...] = (<class 'E... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.merriam_webster.tool.MerriamWebsterQueryRun.html |
6fbaf27fe39a-9 | Create a new Runnable that retries the original runnable on exceptions.
Parameters
retry_if_exception_type – A tuple of exception types to retry on
wait_exponential_jitter – Whether to add jitter to the wait time
between retries
stop_after_attempt – The maximum number of attempts to make before giving up
Returns
A new ... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.merriam_webster.tool.MerriamWebsterQueryRun.html |
3d0edacb223e-0 | langchain_community.tools.plugin.AIPluginToolSchema¶
class langchain_community.tools.plugin.AIPluginToolSchema[source]¶
Bases: BaseModel
Schema for AIPluginTool.
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid mode... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.plugin.AIPluginToolSchema.html |
3d0edacb223e-1 | Generate a dictionary representation of the model, optionally specifying which fields to include or exclude.
classmethod from_orm(obj: Any) → Model¶
json(*, include: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, exclude: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, by_alias: bool = False,... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.plugin.AIPluginToolSchema.html |
6b3b5b49bbff-0 | langchain_community.tools.office365.create_draft_message.CreateDraftMessageSchema¶
class langchain_community.tools.office365.create_draft_message.CreateDraftMessageSchema[source]¶
Bases: BaseModel
Input for SendMessageTool.
Create a new model by parsing and validating input data from keyword arguments.
Raises Validatio... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.office365.create_draft_message.CreateDraftMessageSchema.html |
6b3b5b49bbff-1 | deep – set to True to make a deep copy of the model
Returns
new model instance
dict(*, include: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, exclude: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, by_alias: bool = False, skip_defaults: Optional[bool] = None, exclude_unset: bool = False, ex... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.office365.create_draft_message.CreateDraftMessageSchema.html |
6b3b5b49bbff-2 | classmethod schema(by_alias: bool = True, ref_template: unicode = '#/definitions/{model}') → DictStrAny¶
classmethod schema_json(*, by_alias: bool = True, ref_template: unicode = '#/definitions/{model}', **dumps_kwargs: Any) → unicode¶
classmethod update_forward_refs(**localns: Any) → None¶
Try to update ForwardRefs on... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.office365.create_draft_message.CreateDraftMessageSchema.html |
1cd918d8992a-0 | langchain_community.tools.multion.close_session.MultionCloseSession¶
class langchain_community.tools.multion.close_session.MultionCloseSession[source]¶
Bases: BaseTool
Tool that closes an existing Multion Browser Window with provided fields.
name¶
The name of the tool. Default: “close_multion_session”
description¶
The ... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.multion.close_session.MultionCloseSession.html |
1cd918d8992a-1 | You can use these to eg identify a specific instance of a tool with its use case.
param name: str = 'close_multion_session'¶
The unique name of the tool that clearly communicates its purpose.
param return_direct: bool = False¶
Whether to return the tool’s output directly. Setting this to True means
that after the tool ... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.multion.close_session.MultionCloseSession.html |
1cd918d8992a-2 | Subclasses should override this method if they can run asynchronously.
async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, *, tags: Optional[List[... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.multion.close_session.MultionCloseSession.html |
1cd918d8992a-3 | Parameters
input – The input to the runnable.
config – The config to use for the runnable.
diff – Whether to yield diffs between each step, or the current state.
with_streamed_output_list – Whether to yield the streamed_output list.
include_names – Only include logs with these names.
include_types – Only include logs w... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.multion.close_session.MultionCloseSession.html |
1cd918d8992a-4 | Parameters
include – A list of fields to include in the config schema.
Returns
A pydantic model that can be used to validate config.
configurable_alternatives(which: ConfigurableField, *, default_key: str = 'default', prefix_keys: bool = False, **kwargs: Union[Runnable[Input, Output], Callable[[], Runnable[Input, Outpu... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.multion.close_session.MultionCloseSession.html |
1cd918d8992a-5 | deep – set to True to make a deep copy of the model
Returns
new model instance
dict(*, include: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, exclude: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, by_alias: bool = False, skip_defaults: Optional[bool] = None, exclude_unset: bool = False, ex... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.multion.close_session.MultionCloseSession.html |
1cd918d8992a-6 | config – A config to use when invoking the runnable.
The config supports standard keys like ‘tags’, ‘metadata’ for tracing
purposes, ‘max_concurrency’ for controlling how much work to do
in parallel, and other keys. Please refer to the RunnableConfig
for more details.
Returns
The output of the runnable.
classmethod is_... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.multion.close_session.MultionCloseSession.html |
1cd918d8992a-7 | classmethod parse_obj(obj: Any) → Model¶
classmethod parse_raw(b: Union[str, bytes], *, content_type: unicode = None, encoding: unicode = 'utf8', proto: Protocol = None, allow_pickle: bool = False) → Model¶
run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Op... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.multion.close_session.MultionCloseSession.html |
1cd918d8992a-8 | classmethod validate(value: Any) → Model¶
with_config(config: Optional[RunnableConfig] = None, **kwargs: Any) → Runnable[Input, Output]¶
Bind config to a Runnable, returning a new Runnable.
with_fallbacks(fallbacks: Sequence[Runnable[Input, Output]], *, exceptions_to_handle: Tuple[Type[BaseException], ...] = (<class 'E... | https://api.python.langchain.com/en/latest/tools/langchain_community.tools.multion.close_session.MultionCloseSession.html |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.