Add commands for data analysis and websearch, improve subactivities #1301
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.
This pull request introduces several changes to the
agixt
project, focusing on enhancing the logging of interactions and adding new functionalities for data analysis and web search. The most important changes include the addition ofthinking_id
for logging subactivities, the introduction of new commands inagixt_actions
, and updates to various methods to incorporate these changes.Enhancements to logging:
agixt/Interactions.py
: Addedthinking_id
to log subactivities in multiple methods such asformat_prompt
,run
, and others. [1] [2]agixt/Websearch.py
: Updated thescrape_websites
method to usethinking_id
for logging subactivities.agixt/XT.py
: Incorporatedthinking_id
in various methods likelearn_spreadsheet
,chat_completions
,analyze_user_input
, andanalyze_data
for better logging of subactivities and errors. [1] [2] [3] [4] [5] [6] [7]New functionalities:
agixt/extensions/agixt_actions.py
: Added new commandsRun Data Analysis
andSearch the Web
to theagixt_actions
class, providing capabilities for data analysis and web search. [1] [2]