fabric/vendors/groc/groq.go

16 lines
265 B
Go
Raw Normal View History

2024-08-22 22:15:57 +02:00
package groc
2024-08-16 15:43:27 -04:00
import (
"github.com/danielmiessler/fabric/vendors/openai"
)
func NewClient() (ret *Client) {
ret = &Client{}
ret.Client = openai.NewClientCompatible("Groc", "https://api.groq.com/openai/v1", nil)
2024-08-16 15:43:27 -04:00
return
}
type Client struct {
*openai.Client
}