1
0
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:
asim
2025-07-15 20:43:42 +01:00
parent 3cf5540b0f
commit f99a205b2b
5 changed files with 14 additions and 1 deletions

View File

@@ -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.