Skip to content

When Migrating From ChatOpenAI to ChatGroq Binding Functions Raise an Error #20879

Answered by eyurtsev
ardakocaman100101 asked this question in Q&A
Discussion options

You must be logged in to vote

OpenAI introduced functions first, then they deprecated functions and replace them with tools.

Use bind_tools rather than bind_functions and treat bind_functions as deprecated.

Replies: 5 comments 10 replies

Comment options

You must be logged in to vote
3 replies
@touhi99
Comment options

@ardakocaman100101
Comment options

@touhi99
Comment options

Comment options

You must be logged in to vote
2 replies
@ardakocaman100101
Comment options

@ardakocaman100101
Comment options

Answer selected by ccurme
Comment options

You must be logged in to vote
5 replies
@ardakocaman100101
Comment options

@touhi99
Comment options

@MoMoWongHK
Comment options

@touhi99
Comment options

@jacktang
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants