-
Notifications
You must be signed in to change notification settings - Fork 78
feat/update-tool-desc #275
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
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
ed750c0
feat: Update tool descriptions
jirispilka 4fefb7f
feat: Update default tool RAG Web Browser
jirispilka 24c5e0d
feat: Update tool description
jirispilka da8f1d8
Merge branch 'master' into feat/update-tool-desc
jirispilka 7f7969d
fix: Review comments
jirispilka 99af46a
fix: Add todo
jirispilka 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
Some comments aren't visible on the classic Files Changed page.
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,12 +30,18 @@ export const getUserDatasetsList: ToolEntry = { | |
| tool: { | ||
| name: HelperTools.DATASET_LIST_GET, | ||
| actorFullName: HelperTools.DATASET_LIST_GET, | ||
| description: 'Lists datasets (collections of Actor run data). ' | ||
| + 'Actor runs automatically produce unnamed datasets (use unnamed=true to include these). ' | ||
| + 'Users can also create named datasets manually. ' | ||
| + 'Each dataset includes itemCount, access settings, and usage stats (readCount, writeCount). ' | ||
| + 'Results are sorted by createdAt in ascending order (use desc=true for descending). ' | ||
| + 'Supports pagination with limit (max 20) and offset parameters.', | ||
| description: `List datasets (collections of Actor run data) for the authenticated user. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. question: should we include that it is for authenticated user? I will always be authenticated user (even in case of Skyfire - by the PAY token) |
||
| Actor runs automatically produce unnamed datasets (set unnamed=true to include them). Users can also create named datasets. | ||
|
|
||
| The results will include datasets with itemCount, access settings, and usage stats, sorted by createdAt (ascending by default). | ||
| Use limit (max 20), offset, and desc to paginate and sort. | ||
|
|
||
| USAGE: | ||
| - Use when you need to browse available datasets (named or unnamed) to locate data. | ||
|
|
||
| EXAMPLES: | ||
jirispilka marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| - user_input: List my last 10 datasets (newest first) | ||
| - user_input: List unnamed datasets`, | ||
| inputSchema: zodToJsonSchema(getUserDatasetsListArgs), | ||
| ajvValidate: ajv.compile(zodToJsonSchema(getUserDatasetsListArgs)), | ||
| call: async (toolArgs) => { | ||
|
|
||
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
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.