mirror of
https://github.com/danielmiessler/fabric
synced 2024-11-08 07:11:06 +00:00
16 lines
266 B
Go
16 lines
266 B
Go
package mistral
|
|
|
|
import (
|
|
"github.com/danielmiessler/fabric/vendors/openai"
|
|
)
|
|
|
|
func NewClient() (ret *Client) {
|
|
ret = &Client{}
|
|
ret.Client = openai.NewClientCompatible("Mistral", "https://api.mistral.ai/v1", nil)
|
|
return
|
|
}
|
|
|
|
type Client struct {
|
|
*openai.Client
|
|
}
|