langchain
faef3e5d - core, standard-tests: support PDF and audio input in Chat Completions format (#30979)

Commit
300 days ago
core, standard-tests: support PDF and audio input in Chat Completions format (#30979) Chat models currently implement support for: - images in OpenAI Chat Completions format - other multimodal types (e.g., PDF and audio) in a cross-provider [standard format](https://python.langchain.com/docs/how_to/multimodal_inputs/) Here we update core to extend support to PDF and audio input in Chat Completions format. **If an OAI-format PDF or audio content block is passed into any chat model, it will be transformed to the LangChain standard format**. We assume that any chat model supporting OAI-format PDF or audio has implemented support for the standard format.
Author
Parents
Loading