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

arch: deprecating recall action and search_memory #2900

Merged
merged 5 commits into from
Jul 12, 2024

Conversation

xingyaoww
Copy link
Contributor

What is the problem that this fixes or functionality that this introduces? Does it fix any open issues?

Remove RecallAction to clean up the codebase and make Runtime more concise, since the current implementation is Recall is not really working.

I think @enyst's memory representation + condensation idea (#2709, #2021) is probably better to implement both recall and summary, other than putting them into Runtime class?

Give a brief summary of what the PR does, explaining any non-trivial design decisions

Other references

@@ -161,6 +161,25 @@ parse_pptx(file_path: str) -> None:
Args:
file_path: str: The path to the file to open.

parse_audio(file_path: str, model: str = 'whisper-1') -> None:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your local environmental variables seem to mess this up.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove OPENAI_API_KEY and OPENAI_BASE_URL? I'll add an unset to the regenerate.sh later

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merged! now re-generating integration tests now!

Copy link
Collaborator

@tobitege tobitege left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, but you have to do a search (pun intended) for search_memory in the codebase to also remove that one (~9 files). 😬
Other than that, this looks good.

@xingyaoww
Copy link
Contributor Author

@tobitege done! more than happy to!

@xingyaoww xingyaoww changed the title arch: deprecating recall action arch: deprecating recall action and search_memory Jul 12, 2024
@tobitege
Copy link
Collaborator

@tobitege done! more than happy to!

Great! The codebase smells so much nicer now with all that baggage gone! 🤣

Copy link
Collaborator

@tobitege tobitege left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, great job!

@xingyaoww xingyaoww enabled auto-merge (squash) July 12, 2024 19:08
@xingyaoww xingyaoww merged commit e45ddeb into main Jul 12, 2024
@xingyaoww xingyaoww deleted the xw/deprecating-recall branch July 12, 2024 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants