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

Function call cookbook #1213

Merged
merged 7 commits into from
May 17, 2024
Merged

Function call cookbook #1213

merged 7 commits into from
May 17, 2024

Conversation

msingh-openai
Copy link
Contributor

Summary

Update function call cookbook with latest model and API specifications

Motivation

The function call cook book updated to newer model 'GPT-4o' and used the latest API specification to invoke the Chat Completions API with "role":"tool" (rather than using "role":"function")

Copy link
Contributor

@teomusatoiu teomusatoiu left a comment

Choose a reason for hiding this comment

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

Looks good! thanks for the contribution! I made a few small comments but once they're resolved it's good to ship!

examples/How_to_call_functions_with_chat_models.ipynb Outdated Show resolved Hide resolved
examples/How_to_call_functions_with_chat_models.ipynb Outdated Show resolved Hide resolved
@msingh-openai
Copy link
Contributor Author

All comments addressed! Thanks for reviewing :)

Copy link
Contributor

@teomusatoiu teomusatoiu left a comment

Choose a reason for hiding this comment

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

Looks good! Approved!

@teomusatoiu teomusatoiu merged commit a519708 into main May 17, 2024
@teomusatoiu teomusatoiu deleted the msingh-functioncall branch May 17, 2024 08:21
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.

None yet

2 participants