lypee
lypee
哈希倾斜时 可能导致多数entry被分配到相同segment的ringbuf中。盼望您的解答
config := openai.DefaultAzureConfig(appKey, baseUrl) config.APIVersion = "2023-07-01-preview" config.AzureModelMapperFunc = func(model string) string { azureModelMapping := map[string]string{ "gpt-3.5-turbo": "gpt-35-turbo", "text-embedding-ada-002": "text-embedding-ada-002", "gpt-4": "*", openai.GPT4TurboPreview: "**", } return azureModelMapping[model] } client :=...
### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior _No response_ ### Expected Behavior _No response_ ### Steps To Reproduce...