From 9d7d506ea3a2a36a17bbcae5e56d2afd4e575e61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Gill=C3=A9?= Date: Sat, 30 Dec 2023 19:41:31 +0100 Subject: [PATCH] Fix warning in example code --- example/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/main.go b/example/main.go index b6f2844..1bcddc1 100644 --- a/example/main.go +++ b/example/main.go @@ -32,7 +32,7 @@ func main() { reply := res.Choices[0].Message.Content reply = "\t" + strings.ReplaceAll(reply, "\n", "\n\t") // Indent for readability fmt.Println("Reply before providing the LLM with context:") - fmt.Println("============================================\n") + fmt.Printf("============================================\n\n") fmt.Println(reply) // Now we use our vector database for retrieval augmented generation (RAG) to provide the LLM with context. @@ -88,6 +88,6 @@ func main() { reply = res.Choices[0].Message.Content reply = "\t" + strings.ReplaceAll(reply, "\n", "\n\t") // Indent for readability fmt.Println("\nReply after providing the LLM with context:") - fmt.Println("===========================================\n") + fmt.Printf("===========================================\n\n") fmt.Println(reply) }