fabric/vendors/grocq/grocq.go

16 lines
267 B
Go
Raw Normal View History

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