Skip to content

Commit

Permalink
Added image
Browse files Browse the repository at this point in the history
  • Loading branch information
wschenk committed Apr 13, 2024
1 parent f9d2204 commit 689eb1b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/howto/2024/programming_with_ollama/index.org
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ understanding of why the sky appears blue.

* Chat test

=chat.rb=:
#+begin_src ruby :tangle chat.rb :results output
require 'ollama-ai'

Expand Down Expand Up @@ -138,6 +139,9 @@ understanding of why the sky appears blue.

* Describe an image

{{< img img="newspapers.jpg" fit="500x500 smart">}}

=image.rb=:
#+begin_src ruby :tangle image.rb :results output
require 'ollama-ai'
require 'base64'
Expand Down

0 comments on commit 689eb1b

Please sign in to comment.