Docs: components updates (#5315)
* docs: enhance agent components documentation for clarity and detail * docs: expand tools documentation to clarify agent-tool interactions and usage * docs: clarify installation instructions in README * tools * custom-components * docs: update Tool Mode documentation to include additional input types and usage examples * docs: enhance components-data documentation with usage examples and processing details * docs: refine components-data and components-embedding-models documentation for clarity and detail * docs: update components-memories documentation for inputs and outputs; add new components-processing documentation * stepping-away * helpers * components-io * loaders * docs: update components and guides for clarity and consistency; refine memory component descriptions * models * docs: restructure components-prompts documentation for clarity and consistency * prompts * docs: update components-prompts documentation for clarity and improved examples * docs: add redirect from components-rag to components-vector-stores and remove components-rag documentation * sidebar-remove-vectara-rag * move-components-tab-after-workspace * vector-store * link * processing * docs: update components overview for clarity and additional features * headings * memory-object * code-review * code-review * linter * Apply suggestions from code review Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com> * code review --------- Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
This commit is contained in:
parent
4b0c42e520
commit
a2690236ea
25 changed files with 661 additions and 526 deletions
|
|
@ -157,11 +157,18 @@ These components support **Tool Mode**:
|
|||
* **Calculator**
|
||||
* **Current date**
|
||||
|
||||
If the component you want to use as a tool doesn't have a **Tool Mode** button, add `tool_mode=True` to the component's code under `MessageTextInput`.
|
||||
If the component you want to use as a tool doesn't have a **Tool Mode** button, add `tool_mode=True` to one of the component's inputs.
|
||||
|
||||
For example, in the [components as tools](#components-as-tools) example above, `tool_mode=True,` is added so the custom component can be used as a tool.
|
||||
Langflow supports **Tool Mode** for the following data types:
|
||||
|
||||
**Tool Mode** supports the `MessageTextInput` type.
|
||||
* `DataInput`
|
||||
* `DataFrameInput`
|
||||
* `PromptInput`
|
||||
* `MessageTextInput`
|
||||
* `MultilineInput`
|
||||
* `DropdownInput`
|
||||
|
||||
For example, in the [components as tools](#components-as-tools) example above, `tool_mode=True,` is added to the `MultilineInput` input so the custom component can be used as a tool.
|
||||
|
||||
```python
|
||||
inputs = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue