Describe your use case
OpenAI and Qwen are both one of the most popular embedding platforms. So we should support them to simplify the developing.
Describe the solution you'd like
Implement a LiteLLM based embedding function base class, and then implement openai and qwen based on it.
Refer to https://platform.openai.com/docs/overview for more information about openai and https://bailian.console.aliyun.com/?spm=a2c4g.11186623.0.0.1ebce2c9z2rpXH&tab=api#/api/?type=model&url=2712515 for more information about Qwen.
Describe alternatives you've considered
No response
Additional context
No response
Describe your use case
OpenAI and Qwen are both one of the most popular embedding platforms. So we should support them to simplify the developing.
Describe the solution you'd like
Implement a LiteLLM based embedding function base class, and then implement openai and qwen based on it.
Refer to https://platform.openai.com/docs/overview for more information about openai and https://bailian.console.aliyun.com/?spm=a2c4g.11186623.0.0.1ebce2c9z2rpXH&tab=api#/api/?type=model&url=2712515 for more information about Qwen.
Describe alternatives you've considered
No response
Additional context
No response