feat: 部署初版测试
This commit is contained in:
8
server/internal/service/llm/provider.go
Normal file
8
server/internal/service/llm/provider.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package llm
|
||||
|
||||
import "context"
|
||||
|
||||
type Provider interface {
|
||||
Name() string
|
||||
GenerateReply(ctx context.Context, model string, systemPrompt, userPrompt string) (string, error)
|
||||
}
|
||||
Reference in New Issue
Block a user