Abraxas-365 / langchain-rust

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

Openai image messages #215

Closed solodolo closed 2 months ago

solodolo commented 2 months ago

Allows sending images, either URLs or Base64 strings, to OpenAI. This enables support for OpenAI's vision capabilities, similar to the support added for Ollama here.

I'm relatively new to Rust and I'm open to feedback about my approach, so please review with a critical eye. Thanks!

prabirshrestha commented 2 months ago

@solodolo Please rebase with the latest main. ollama-rs build should be fixed.

prabirshrestha commented 2 months ago

Merged. Thanks.