fabric/vendors/groc/groq.go
2024-08-22 22:15:57 +02:00

16 lines
265 B
Go

package groc
import (
"github.com/danielmiessler/fabric/vendors/openai"
)
func NewClient() (ret *Client) {
ret = &Client{}
ret.Client = openai.NewClientCompatible("Groq", "https://api.groq.com/openai/v1", nil)
return
}
type Client struct {
*openai.Client
}