fabric/vendors/groq/groq.go

16 lines
265 B
Go
Raw Normal View History

package groq
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("Groq", "https://api.groq.com/openai/v1", nil)
2024-08-16 15:43:27 -04:00
return
}
type Client struct {
*openai.Client
}