Skip to content
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

Update the search files to address those arguments #2673

Closed
1 task done
javableu opened this issue Apr 20, 2023 · 6 comments
Closed
1 task done

Update the search files to address those arguments #2673

javableu opened this issue Apr 20, 2023 · 6 comments
Labels
enhancement New feature or request Stale

Comments

@javableu
Copy link
Contributor

Duplicates

  • I have searched the existing issues

Summary 💡

NEXT ACTION: COMMAND = search_files ARGUMENTS = {'directory': './', 'filename': 'task_specific_algorithm.py'}
NEXT ACTION: COMMAND = search_files ARGUMENTS = {'directory': './', 'pattern': 'task_specific_algorithm.py'}
NEXT ACTION: COMMAND = search_files ARGUMENTS = {'directory': './', 'query': 'task_specific_algorithm.py'}

Examples 🌈

I just want it to be able to do those actions, it would help the ai to navigate more easily I believe. It is often asking for those same functions. I'm wondering if you couldn't ask the ai to come up with the function dynamically.

Motivation 🔦

It is really limited in its way to navigate info gathered into folders/files, I think that might help.

@k-boikov k-boikov added the enhancement New feature or request label Apr 20, 2023
@flowzen1337
Copy link

Same here, would be nice to see a improvement, should be just easy to add more parameter to the serach_files function:

...
...
CRITICISM:  I need to be careful to evaluate the credibility of any sources I find and avoid relying on biased or inaccurate information.
NEXT ACTION:  COMMAND = search_files ARGUMENTS = {'directory': '/', 'pattern': '*the_pattern_goes_here*'}
SYSTEM:  Command search_files returned: Error: search_files() got an unexpected keyword argument 'pattern'
 THOUGHTS:  I will use the 'search_files' command to look for any relevant documents or reports on the conflict.
REASONING:  To make informed decisions, I need to gather as much information as possible from credible sources.
PLAN:
-  Use the 'search_files' command to look for any relevant documents or reports on the conflict
CRITICISM:  I need to be careful to evaluate the credibility of any sources I find and avoid relying on biased or inaccurate information.
NEXT ACTION:  COMMAND = search_files ARGUMENTS = {'directory': '/', 'text': 'the_pattern_goes_here'}
SYSTEM:  Command search_files returned: Error: search_files() got an unexpected keyword argument 'text'
 THOUGHTS:  I will use the 'search_files' command to look for any relevant documents or reports on the conflict.
REASONING:  To make informed decisions, I need to gather as much information as possible from credible sources.
PLAN:
-  Use the 'search_files' command to look for any relevant documents or reports on the conflict
CRITICISM:  I need to be careful to evaluate the credibility of any sources I find and avoid relying on biased or inaccurate information.
NEXT ACTION:  COMMAND = search_files ARGUMENTS = {'directory': '/', 'filename': '*the_pattern_goes_here*'}
SYSTEM:  Command search_files returned: Error: search_files() got an unexpected keyword argument 'filename'
 THOUGHTS:  I will use the 'search_files' command to look for any relevant documents or reports on the conflict.
REASONING:  To make informed decisions, I need to gather as much information as possible from credible sources.
PLAN:
-  Use the 'search_files' command to look for any relevant documents or reports on the conflict
CRITICISM:  I need to be careful to evaluate the credibility of any sources I find and avoid relying on biased or inaccurate information.
NEXT ACTION:  COMMAND = search_files ARGUMENTS = {'directory': '/', 'pattern': '*the_pattern_goes_here*'}
SYSTEM:  Command search_files returned: Error: search_files() got an unexpected keyword argument 'pattern'
 THOUGHTS:  I will use the 'search_files' command to look for any relevant documents or reports on the conflict.
REASONING:  To make informed decisions, I need to gather as much information as possible from credible sources.
PLAN:
-  Use the 'search_files' command to look for any relevant documents or reports on the conflict
CRITICISM:  I need to be careful to evaluate the credibility of any sources I find and avoid relying on biased or inaccurate information.
NEXT ACTION:  COMMAND = search_files ARGUMENTS = {'directory': '/', 'text': 'the_pattern_goes_here'}
SYSTEM:  Command search_files returned: Error: search_files() got an unexpected keyword argument 'text'
 THOUGHTS:  I will use the 'search_files' command to look for any relevant documents or reports on the conflict.
REASONING:  To make informed decisions, I need to gather as much information as possible from credible sources.
PLAN:
-  Use the 'search_files' command to look for any relevant documents or reports on the conflict
CRITICISM:  I need to be careful to evaluate the credibility of any sources I find and avoid relying on biased or inaccurate information.
NEXT ACTION:  COMMAND = search_files ARGUMENTS = {'directory': '/', 'filename': '*the_pattern_goes_here*'}
SYSTEM:  Command search_files returned: Error: search_files() got an unexpected keyword argument 'filename'
 THOUGHTS:  I will use the 'search_files' command to look for any relevant documents or reports on the conflict.
REASONING:  To make informed decisions, I need to gather as much information as possible from credible sources.
PLAN:
-  Use the 'search_files' command to look for any relevant documents or reports on the conflict
CRITICISM:  I need to be careful to evaluate the credibility of any sources I find and avoid relying on biased or inaccurate information.
NEXT ACTION:  COMMAND = search_files ARGUMENTS = {'directory': '/', 'pattern': '*the_pattern_goes_here*'}
SYSTEM:  Command search_files returned: Error: search_files() got an unexpected keyword argument 'pattern'
\ Thinking...

@midley69
Copy link

I have the same problem.

ACTION:  COMMAND = search_files ARGUMENTS = {'directory': 'C:/', 'filename_pattern': '*match.com*'}
SYSTEM:  Command search_files returned: Error: search_files() got an unexpected keyword argument 'filename_pattern'

@katmai
Copy link

katmai commented Apr 29, 2023

SYSTEM: Command search_files returned: Error: search_files() got an unexpected keyword argument 'filename_pattern'
SYSTEM: Command search_files returned: Error: search_files() got an unexpected keyword argument 'pattern'
SYSTEM: Command search_files returned: Error: search_files() got an unexpected keyword argument 'search_term'

im also getting the same

@Boostrix
Copy link
Contributor

Boostrix commented May 8, 2023

that's actually a pretty neat and clever idea - as long as we can formalize the param list for some "algo-safe" commands to use some contracts, we could in fact use stuff like map/reduce and similar algos to parallelize actions locally that would normally be CPU bound. Also, it could help reduce unnecessary API calls / token waste !

Inspired by this:

@github-actions
Copy link
Contributor

github-actions bot commented Sep 6, 2023

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

@github-actions github-actions bot added the Stale label Sep 6, 2023
@github-actions
Copy link
Contributor

This issue was closed automatically because it has been stale for 10 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Stale
Projects
None yet
Development

No branches or pull requests

6 participants