mirror of
https://github.com/go-micro/go-micro.git
synced 2025-08-10 21:52:01 +02:00
add string function
This commit is contained in:
@@ -20,6 +20,7 @@ type Stream struct {
|
||||
type GenAI interface {
|
||||
Generate(prompt string, opts ...Option) (*Result, error)
|
||||
Stream(prompt string, opts ...Option) (*Stream, error)
|
||||
String() string
|
||||
}
|
||||
|
||||
// Option is a functional option for configuring providers.
|
||||
|
Reference in New Issue
Block a user