Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeCacheKeyForChatCompletionRequest ¶ added in v1.7.1
func ComputeCacheKeyForChatCompletionRequest(path string, req *goopenai.ChatCompletionRequest) string
func ComputeCacheKeyForEmbeddingsRequest ¶ added in v1.7.1
func ComputeCacheKeyForEmbeddingsRequest(path string, req *goopenai.EmbeddingRequest) string
Types ¶
type CacheConfig ¶
type Request ¶
type Route ¶
type Route struct { Id string `json:"id"` CreatedAt int64 `json:"createdAt"` UpdatedAt int64 `json:"updatedAt"` Name string `json:"name"` Path string `json:"path"` KeyIds []string `json:"keyIds"` Steps []*Step `json:"steps"` CacheConfig *CacheConfig `json:"cacheConfig"` }
func (*Route) ShouldRunEmbeddings ¶
Click to show internal directories.
Click to hide internal directories.