image with ash_ai

Langchain gives a way to send images via base645 encoding docs here How to call that from ash_ai ? basically, this block from langchain docs
ContentPart.image!(image_data, media: :jpg, detail: "low")
ContentPart.image!(image_data, media: :jpg, detail: "low")
3 Replies
abeeshake456
abeeshake456OP•3mo ago
Guess will have to add one more adapter for my use case.
ZachDaniel
ZachDaniel•3mo ago
I think that won't be an adapter But some kind of more in-depth prompting template Like prompt can be a function that takes the langchain and can modify it Or maybe something like modify_langchain
abeeshake456
abeeshake456OP•3mo ago

Did you find this page helpful?