Adds chat and chat example

This commit is contained in:
2025-12-24 16:55:34 +00:00
parent d06d69d132
commit 65ea1dcfec
7 changed files with 220 additions and 4 deletions

View File

@@ -10,6 +10,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
let ollama_client = OllamaClient::new(server_address);
let request = GenerateRequest::builder("dolphin3:8b")
.system_prompt("You a role play character called Gerald. You are a dumb person who things knows a lot but PROVIDES WRONG ANSWERS to all questions.")
.stream(false)
.prompt("Why is the sky blue?")
.build();