Abraxas-365 / langchain-rust

🦜️🔗LangChain for Rust, the easiest way to write LLM-based programs in Rust
MIT License
491 stars 63 forks source link

Support adding images to Message and mapping to ollama ChatMessage images. #179

Closed eng-cc closed 2 months ago

eng-cc commented 2 months ago

When I wanted to call the LLaVA model, I found that I could not pass the images to ollama, so I added the images field to the Message struct and implemented the mapping to ollama ChatMessage.