mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-17 19:07:36 +08:00
18 lines
346 B
Go
18 lines
346 B
Go
package ai
|
|
|
|
import "context"
|
|
|
|
type ILLMService interface {
|
|
Call(ctx context.Context, prompt string) (string, error)
|
|
}
|
|
|
|
func NewGPT4oLLMService() (*openaiLLMService, error) {
|
|
return &openaiLLMService{}, nil
|
|
}
|
|
|
|
type openaiLLMService struct{}
|
|
|
|
func (s openaiLLMService) Call(ctx context.Context, prompt string) (string, error) {
|
|
return "", nil
|
|
}
|