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

Add support for Function Calling #52

Closed
wants to merge 2 commits into from

Conversation

iwamot
Copy link
Contributor

@iwamot iwamot commented Aug 17, 2023

I propose to add support for Function Calling as discussed at #50.

Notes:

  • The type of messages has been updated to accommodate the additional data required for Function Calling.
  • The second argument of messages_within_context_window has been changed because of the need to calculate the number of prompt tokens consumed by Function Calling.

Please review the changes and let me know if you have any questions or suggestions for improvement. Thank you!

@seratch seratch added the enhancement New feature or request label Aug 21, 2023
@seratch
Copy link
Owner

seratch commented Aug 21, 2023

@iwamot Thanks for the contribution! Your changes are now merged into the main branch: 626e492

@seratch seratch closed this Aug 21, 2023
@iwamot iwamot deleted the function-calling-rebased branch August 22, 2023 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants