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

Prompt partials #464

Merged
merged 2 commits into from
Mar 3, 2024
Merged

Prompt partials #464

merged 2 commits into from
Mar 3, 2024

Conversation

kreneskyp
Copy link
Owner

Description

Introducing a custom ChatPrompt component that replaces the stock ChatPromptTemplate. This version maps config partials to the prompt's partial_variables. State machines #452 will use this to pass in branches as partials from the config.

Changes

How Tested

[Explain how you tested this pull request. Include any relevant steps or scripts.]

TODOs

[List any outstanding TODOs or known issues that still need to be addressed.]

…variables from config. semi-hacky way to make this work for state machines
@kreneskyp kreneskyp merged commit 6239c6c into master Mar 3, 2024
7 checks passed
@kreneskyp kreneskyp deleted the prompt_partials branch March 3, 2024 23:19
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.

None yet

1 participant