-
Notifications
You must be signed in to change notification settings - Fork 9.8k
docs: ALTK component #10511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
docs: ALTK component #10511
Changes from 3 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
b8d82a5
broken-anchor
mendonk 02df8fe
sidebar-and-page
mendonk 56cafee
add-release-note
mendonk 01965e0
Merge branch 'main' into docs-altk-agent-component
mendonk 93f2fe2
add-context-on-output
mendonk 4ca5b9b
Merge branch 'docs-1.7-release' into docs-altk-agent-component
mendonk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| --- | ||
| title: ALTK | ||
| slug: /bundles-altk | ||
| --- | ||
|
|
||
| import Icon from "@site/src/components/icon"; | ||
| import PartialParams from '@site/docs/_partial-hidden-params.mdx'; | ||
|
|
||
| <Icon name="Blocks" aria-hidden="true" /> [**Bundles**](/components-bundle-components) contain custom components that support specific third-party integrations with Langflow. | ||
|
|
||
| The **ALTK Agent** implements the **JSON Processor** component from the [Agent Lifecycle Toolkit](https://github.com/AgentToolkit/agent-lifecycle-toolkit). This component processes large JSON tool responses by generating Python code on the fly to extract relevant data. This helps reduce context size and improves the agent's ability to work with large tool responses, especially when dealing with APIs that return extensive JSON data. | ||
|
|
||
| For more information, see the [Agent Lifecycle Toolkit documentation](https://agenttoolkit.github.io/agent-lifecycle-toolkit/). | ||
|
|
||
| For an example of the ALTK component in Langflow, see the video tutorial [ALTK in Langflow: Reliably handle JSON responses in your AI agent](https://www.youtube.com/watch?v=YNwPBK_KxXY). | ||
|
|
||
| ### ALTK Agent parameters | ||
|
|
||
| <PartialParams /> | ||
|
|
||
| | Name | Type | Description | | ||
| |------|------|-------------| | ||
| | agent_llm | Dropdown | Input parameter. The model provider the agent uses to generate responses. | | ||
| | enable_post_tool_reflection | Boolean | Input parameter. If enabled, tool outputs are automatically processed through JSON processing when the output is JSON and exceeds the size threshold. Default: `true`. | | ||
| | response_processing_size_threshold | Integer | Input parameter. Tool output is post-processed only if the response length exceeds this character threshold. Default: `100`. Advanced parameter. | | ||
| | tools | List[Tool] | Input parameter. The list of tools available to the agent. | | ||
| | system_prompt | String | Input parameter. The system prompt to provide context to the agent. | | ||
| | input_value | String | Input parameter. The user's input to the agent. | | ||
| | memory | Memory | Input parameter. The memory for the agent to use for context persistence. | | ||
| | max_iterations | Integer | Input parameter. The maximum number of iterations to allow the agent to execute. | | ||
| | verbose | Boolean | Input parameter. This determines whether to print out the agent's intermediate steps. | | ||
| | handle_parsing_errors | Boolean | Input parameter. This determines whether to handle parsing errors in the agent. | | ||
| | response | Message | Output parameter. The agent's response message. | | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.