Skip to content

Commit

Permalink
chore: updated ollama notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
Casper Bollen authored and Casper Bollen committed Mar 7, 2024
1 parent a0b7e87 commit 421bc24
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/Informedica.Ollama.Lib/Notebooks/Examples.dib
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

{"kernelInfo":{"defaultKernelName":"csharp","items":[{"aliases":[],"name":"csharp"}]}}

#!markdown

# Ollama Lib Examples

#!fsharp

#load "load.fsx"

open Informedica.Ollama.Lib
open Ollama.Operators

#!markdown

## Ask the hello world question

#!fsharp

"You are a helpful assistant"
|> init Ollama.Models.``openchat:7b``
>>? "Why is the sky blue?"
|> Ollama.Conversation.print

0 comments on commit 421bc24

Please sign in to comment.