Skip to content

Adds an option to apply the chat template to prompts when using StateslessExecutor#1025

Merged
martindevans merged 1 commit intoSciSharp:masterfrom
phil-scott-78:stateless-prompt
Dec 31, 2024
Merged

Adds an option to apply the chat template to prompts when using StateslessExecutor#1025
martindevans merged 1 commit intoSciSharp:masterfrom
phil-scott-78:stateless-prompt

Conversation

@phil-scott-78
Copy link
Copy Markdown
Contributor

Also updates LLamaStatelessExecutor.cs to use the new functionality as an example.

…lessExecutor.

Also updates LLamaStatelessExecutor.cs to use the new functionality as an example.
@phil-scott-78
Copy link
Copy Markdown
Contributor Author

this executor is used elsewhere, but I only updated this one example. Some of the other ones will use it combined with ChatSession, or at least PromptTemplateTransformer so they seem to be like they get the prompt templating via that.

@martindevans
Copy link
Copy Markdown
Member

Thanks!

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.

2 participants