File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,6 +136,10 @@ func (a *Agent[I, O]) Client() instructor.Instructor {
136136 return a .client
137137}
138138
139+ func (a * Agent [I , O ]) Encoder () instructor.Encoder {
140+ return a .Client ().Encoder ()
141+ }
142+
139143func (a * Agent [I , O ]) SetMemory (m components.MemoryStore ) {
140144 a .memory = m
141145}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ require (
88 github.com/PuerkitoBio/goquery v1.10.2
99 github.com/aws/aws-sdk-go-v2 v1.36.3
1010 github.com/aws/aws-sdk-go-v2/service/s3 v1.78.2
11- github.com/bububa/instructor-go v1.2.6
11+ github.com/bububa/instructor-go v1.2.7
1212 github.com/bububa/mdencoder v1.0.1
1313 github.com/clipperhouse/uax29 v1.14.3
1414 github.com/cohere-ai/cohere-go/v2 v2.13.0
Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ github.com/bahlo/generic-list-go v0.2.0/go.mod h1:2KvAjgMlE5NNynlg/5iLrrCCZ2+5xW
5151github.com/benbjohnson/clock v1.1.0 /go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA =
5252github.com/brianvoe/gofakeit/v7 v7.2.1 h1:AGojgaaCdgq4Adzrd2uWdbGNDyX6MWNhHdQBraNfOHI =
5353github.com/brianvoe/gofakeit/v7 v7.2.1 /go.mod h1:QXuPeBw164PJCzCUZVmgpgHJ3Llj49jSLVkKPMtxtxA =
54- github.com/bububa/instructor-go v1.2.6 h1:tpsFFm0FaX5K7lQVLkwtRBFs1GTTcSS4W9/KDwM0+ZY =
55- github.com/bububa/instructor-go v1.2.6 /go.mod h1:6D+sWUfdlnhIc/bfzpg+1eXofF2g5Y4vks7hdpZOBlk =
54+ github.com/bububa/instructor-go v1.2.7 h1:k6yau4f2eUpEv96JLUoxmaeBRQQkAXvJuwWBT5nEuMY =
55+ github.com/bububa/instructor-go v1.2.7 /go.mod h1:6D+sWUfdlnhIc/bfzpg+1eXofF2g5Y4vks7hdpZOBlk =
5656github.com/bububa/ljson v1.0.1 h1:KyymkUrbsKQtd9yDYNQ6BIiupievR/7Ol1MPK3VVLgc =
5757github.com/bububa/ljson v1.0.1 /go.mod h1:V0iyqxoher3R2bQKk7uIpNkbogt8MAqe+hyS8WLlYsc =
5858github.com/bububa/mdencoder v1.0.1 h1:RN9T4MZlauww1gTzHKcagWtO8p6JVvvUUCRqxqvkhkE =
You can’t perform that action at this time.
0 commit comments