Expanding ChatPromptParser to handle other content types #11012
Unanswered
glorious-beard
asked this question in
Q&A
Replies: 1 comment
-
@glorious-beard We've created an issue to track this, please following along with #11044. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Now that OpenAI can handle file inputs (for PDFs) in addition to text and images, are there plans to add the ability to parse additional content tags in
ChatPromptParser
to handle additional content types, likeBinaryContent
,AudioContent
, etc.? (Claude can handle PDFs too - see here)Additional tags could include:
AudioContent
instanceBinaryContent
instance, withmimeType
defaulting to "application/octet-stream" if not presentPdfContent
class derived fromBinaryContent
My application makes heavy use of the YAML prompt templates so this would be very helpful in not having to manually build chat histories for any operation involving inputs beyond text and images.
I volunteer to add the above if it's not already planned for a near term release.
(Maybe this is an extension of this discussion?)
Beta Was this translation helpful? Give feedback.
All reactions