- Introduced MessageContentPart and ImageURL types to allow for multi-content messages that can include both text and images. - Updated the Message struct to include a MultiContent field for handling multiple message parts. - Modified the ConvertMessages function to prioritize processing of multi-content messages, improving the handling of user messages with images. These changes enhance the flexibility and functionality of chat messages, enabling richer content delivery. |
||
|---|---|---|
| .. | ||
| chat | ||
| embedding | ||
| provider | ||
| rerank | ||
| utils | ||
| vlm | ||