Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

allow PromptTemplates to convert to ContentParts #117

Merged
merged 1 commit into from
May 10, 2024

Conversation

brainlid
Copy link
Owner

  • added PromptTemplate.to_content_part!
  • added error detection when trying to send PromptTemplates that aren't converted to messages
  • convert them to ContentPart type text

- added PromptTemplate.to_content_part!
- added error detection when trying to send PromptTemplates that aren't converted to messages
- convert them to ContentPart type text
@brainlid brainlid merged commit dd90c1b into main May 10, 2024
1 check passed
@brainlid brainlid deleted the me-prompt-templates-and-content-parts branch May 10, 2024 22:06
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant