16 lines
333 B
Go
16 lines
333 B
Go
package ai
|
|
|
|
import (
|
|
"context"
|
|
"fmt"
|
|
)
|
|
|
|
type ChatGPTProvider struct{}
|
|
|
|
func NewChatGPTProvider(apiKey, model, systemPrompt string) *ChatGPTProvider {
|
|
return &ChatGPTProvider{}
|
|
}
|
|
|
|
func (p *ChatGPTProvider) Ask(ctx context.Context, prompt string) (string, error) {
|
|
return "", fmt.Errorf("ChatGPT not implemented yet")
|
|
} |