Skip to content

feat: enable custom templating for llm prompts#528

Open
muhammed-shihebi wants to merge 2 commits into
llm_ops_v2from
model_template_feature
Open

feat: enable custom templating for llm prompts#528
muhammed-shihebi wants to merge 2 commits into
llm_ops_v2from
model_template_feature

Conversation

@muhammed-shihebi

Copy link
Copy Markdown
Collaborator

What does this PR do?

This PR makes it possible to use the templates of each llm to format chat messages and create a prompt suitable for each specific model.
A list of different kinds of messages will come from the frontend and the new code will automatically format them in a prompt suitable for the chosen llm.
Note that prompting template must be already added to the llm-ops.llm-ops.prompts.conversation.py file.

Who can review?

@Rachneet

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.

1 participant