danielmiessler / fabric

fabric is an open-source framework for augmenting humans using AI. It provides a modular framework for solving specific problems using a crowdsourced set of AI prompts that can be used anywhere.
https://danielmiessler.com/p/fabric-origin-story
MIT License
25.52k stars 2.71k forks source link

[Question]: Image + Question -> Answer #1099

Open ausangshukla opened 3 weeks ago

ausangshukla commented 3 weeks ago

What is your question?

How can I add an image + a bunch of questions, to get some answers about the image?

Thanks

eugeis commented 3 weeks ago

fabric -a "your questions about the images"

Also, instead to provide question in command line, you could create a context with the questions and use it

-C, --context= Choose a context from the available contexts

ausangshukla commented 2 weeks ago

How can I do the following fabric -a ../doc_qna/docs/Doc1.pdf --pattern extract_insights error, status code: 400, status: 400 Bad Request, message: Invalid MIME type. Only image types are supported.

fabric -a ../doc_qna/docs/Doc1.png --pattern extract_insights I'm unable to read the text from the image provided. Could you please provide the text in a different format?

So how does one generate insight from documents?