Skip to content

How to use the 'name' parameter? #1405

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

Open
skytect opened this issue Feb 3, 2025 · 1 comment
Open

How to use the 'name' parameter? #1405

skytect opened this issue Feb 3, 2025 · 1 comment

Comments

@skytect
Copy link

skytect commented Feb 3, 2025

In the OpenAI API, you can provide a name parameter to a message.

In https://platform.openai.com/docs/api-reference/chat/create:

name
string

Optional
An optional name for the participant. Provides the model information to differentiate between participants of the same role.

I understand that the role can be configured using _.role("user"). What about name?

@hellovai
Copy link
Contributor

The name parameter is not yet supported, we do support metadata for content parts like cache_control for anthropics apis.

https://docs.boundaryml.com/guide/baml-advanced/prompt-caching-message-role-metadata

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

No branches or pull requests

2 participants