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 defaultrole to LLM pipeline #841

Closed
davidmezzetti opened this issue Dec 19, 2024 · 0 comments
Closed

Add defaultrole to LLM pipeline #841

davidmezzetti opened this issue Dec 19, 2024 · 0 comments
Assignees
Milestone

Comments

@davidmezzetti
Copy link
Member

davidmezzetti commented Dec 19, 2024

Currently, the LLM pipeline assumes that string prompts already have all chat tokens applied.

This change will add an option to set the defaultrole on inference.

Options for defaultrole:

  • prompt (default): applies no chat formatting to input and passes raw to the model
  • user: creates chat messages with the user role

See this discussion for more: 8bd4d78#r150476159

@davidmezzetti davidmezzetti added this to the v8.2.0 milestone Dec 19, 2024
@davidmezzetti davidmezzetti self-assigned this Dec 19, 2024
@davidmezzetti davidmezzetti changed the title Add defaultrole to LiteLLM pipeline Add defaultrole to LLM pipeline Dec 19, 2024
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

1 participant