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

Move memory and prompt calculations out of the Chat interface #332

Merged
merged 10 commits into from
Aug 18, 2023

Conversation

raulraja
Copy link
Contributor

@raulraja raulraja commented Aug 17, 2023

Simplifying the Chat interface implementation creates two new internal objects for handling concerns related to Memory and Prompt model token calculations.

Base automatically changed from simplify-functions-prompts to main August 17, 2023 16:38
# Conflicts:
#	core/src/commonMain/kotlin/com/xebia/functional/xef/llm/Chat.kt
javipacheco
javipacheco previously approved these changes Aug 18, 2023
Copy link
Contributor

@javipacheco javipacheco left a comment

Choose a reason for hiding this comment

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

Great job 🚀

Just a minor comments if you want to change them

Copy link
Contributor

@javipacheco javipacheco left a comment

Choose a reason for hiding this comment

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

🚀

@javipacheco javipacheco merged commit c5f0d54 into main Aug 18, 2023
@javipacheco javipacheco deleted the prompt-adapts-messages branch August 18, 2023 09:19
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