dify.go 484 B

123456789101112131415161718192021222324
  1. package llm
  2. type DifyCustomizedEnv struct {
  3. Key string `json:"key"`
  4. Value string `json:"value"`
  5. }
  6. type DifyCustomized struct {
  7. // Define custom environment variables here
  8. CustomizedEnvs []*DifyCustomizedEnv `json:"customized_envs,omitempty"`
  9. Registry string `json:"registry"`
  10. }
  11. type DifyListInput struct {
  12. LLMBaseListInput
  13. DifySku string `json:"dify_sku"`
  14. }
  15. type DifyCreateInput struct {
  16. LLMBaseCreateInput
  17. DifySkuId string `json:"dify_sku_id"`
  18. }