summaryrefslogtreecommitdiff
path: root/example.go
diff options
context:
space:
mode:
Diffstat (limited to 'example.go')
-rw-r--r--example.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/example.go b/example.go
index 8c0ba38..e496463 100644
--- a/example.go
+++ b/example.go
@@ -7,10 +7,10 @@ import (
func ExampleChat() *Chats {
conversation := NewChats()
- conversation.AddGeminiComment("funny")
+ conversation.AddRegexComment("funny")
/*
- gchat := conversation.AddGeminiComment("funny")
+ gchat := conversation.AddRegexComment("funny")
snip := new(CodeSnippet)
snip.Filename = "log/snip1.txt"
gchat.Snippets = append(gchat.Snippets, snip)
@@ -18,7 +18,7 @@ func ExampleChat() *Chats {
conversation.AddUserComment("yes")
- conversation.AddGeminiComment("I like astronomy")
+ conversation.AddRegexComment("I like astronomy")
dump := conversation.FormatTEXT()