add embeddings
This commit is contained in:
parent
523962d4aa
commit
526fd07858
2 changed files with 10 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ A complete list of models supported by RAGFlow, which will continue to expand.
|
|||
|
||||
| Provider | Chat | Embedding | Rerank | Img2txt | Speech2txt | TTS |
|
||||
| --------------------- | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
|
||||
| AI Badgr | :heavy_check_mark: | | | | | |
|
||||
| AI Badgr | :heavy_check_mark: | :heavy_check_mark: | | | | |
|
||||
| Anthropic | :heavy_check_mark: | | | | | |
|
||||
| Azure-OpenAI | :heavy_check_mark: | :heavy_check_mark: | | :heavy_check_mark: | :heavy_check_mark: | |
|
||||
| BAAI | | :heavy_check_mark: | :heavy_check_mark: | | | |
|
||||
|
|
|
|||
|
|
@ -911,6 +911,15 @@ class GiteeEmbed(SILICONFLOWEmbed):
|
|||
base_url = "https://ai.gitee.com/v1/embeddings"
|
||||
super().__init__(key, model_name, base_url)
|
||||
|
||||
|
||||
class AiBadgrEmbed(OpenAIEmbed):
|
||||
_FACTORY_NAME = "AI Badgr"
|
||||
|
||||
def __init__(self, key, model_name, base_url="https://aibadgr.com/api/v1"):
|
||||
if not base_url:
|
||||
base_url = "https://aibadgr.com/api/v1"
|
||||
super().__init__(key, model_name, base_url)
|
||||
|
||||
class DeepInfraEmbed(OpenAIEmbed):
|
||||
_FACTORY_NAME = "DeepInfra"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue