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

[RFC] Add "function" as an explicit kind of output data #628

Merged
merged 1 commit into from
Dec 27, 2023
Merged

Conversation

saqadri
Copy link
Contributor

@saqadri saqadri commented Dec 27, 2023

[RFC] Add "function" as an explicit kind of output data

This can help us distinguish function calling from regular strings quickly -- since function calling is now supported across multiple models, it deserves to be a top-level output kind in the schema.

For example, current models that support it:

This can help us distinguish function calling from regular strings quickly -- since function calling is now supported across multiple models, it deserves to be a top-level output kind in the schema.

For example, current models that support it:
* GPT-3.5, GPT-4, GPT-4V
* Gemini
* [Mixtral (using Anyscale endpoints)](https://docs.endpoints.anyscale.com/guides/function-calling/#:~:text=With%20Anyscale%20Endpoints%2C%20you%20can,parameters%20to%20pass%20to%20it.)
* There will be more to come
Copy link
Contributor

@rossdanlm rossdanlm left a comment

Choose a reason for hiding this comment

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

thanks!

name: string;
arguments: string;
[k: string]: any;
}[];
Copy link
Contributor

Choose a reason for hiding this comment

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

Oh I realize, we probably shouldn't have put a list here, will fix

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