25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 

22 satır
593 B

  1. package cloudflare
  2. import "github.com/QuantumNous/new-api/dto"
  3. type CfRequest struct {
  4. Messages []dto.Message `json:"messages,omitempty"`
  5. Lora string `json:"lora,omitempty"`
  6. MaxTokens uint `json:"max_tokens,omitempty"`
  7. Prompt string `json:"prompt,omitempty"`
  8. Raw bool `json:"raw,omitempty"`
  9. Stream bool `json:"stream,omitempty"`
  10. Temperature *float64 `json:"temperature,omitempty"`
  11. }
  12. type CfAudioResponse struct {
  13. Result CfSTTResult `json:"result"`
  14. }
  15. type CfSTTResult struct {
  16. Text string `json:"text"`
  17. }