Skip to content

Commit

Permalink
Fix warning in example code
Browse files Browse the repository at this point in the history
  • Loading branch information
philippgille committed Dec 30, 2023
1 parent b641ef7 commit 9d7d506
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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)
}

0 comments on commit 9d7d506

Please sign in to comment.