Skip to content
Snippets Groups Projects
Unverified Commit e876f58b authored by KevinHuSh's avatar KevinHuSh Committed by GitHub
Browse files

refine readme (#170)

parent 05298d56
No related branches found
No related tags found
No related merge requests found
...@@ -47,19 +47,19 @@ ...@@ -47,19 +47,19 @@
## 🤺RagFlow vs. other RAG applications ## 🤺RagFlow vs. other RAG applications
| Feature | RagFlow | Langchain-Chatchat | Dify.AI | Assistants API | QAnythig | LangChain | | Feature | RagFlow | Langchain-Chatchat | Assistants API | QAnythig | LangChain |
|---------|:---------:|:----------------:|:-----------:|:-----------:|:-----------:|:-----------:| |---------|:---------:|:----------------:|:-----------:|:-----------:|:-----------:|
| **Well-Founded Answer** | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | | **Well-Founded Answer** | :white_check_mark: | :x: | :x: | :x: | :x: |
| **Trackable Chunking** | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | | **Trackable Chunking** | :white_check_mark: | :x: | :x: | :x: | :x: |
| **Chunking Method** | Rich Variety | Naive | Naive | Naive | Naive | Naive | | **Chunking Method** | Rich Variety | Naive | Naive | | Naive | Naive |
| **Table Structure Recognition** | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | | **Table Structure Recognition** | :white_check_mark: | :x: | | :x: | :x: | :x: |
| **Structured Data Lookup** | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | | **Structured Data Lookup** | :white_check_mark: | :x: | :x: | :x: | :x: | :x: |
| **Programming Approach** | API-oriented | API-oriented | API-oriented | API-oriented | API-oriented | Python Code-oriented | | **Programming Approach** | API-oriented | API-oriented | API-oriented | API-oriented | Python Code-oriented |
| **RAG Engine** | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | :x: | | **RAG Engine** | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | :x: |
| **Prompt IDE** | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | :x: | | **Prompt IDE** | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | :x: |
| **Supported LLMs** | Rich Variety | Rich Variety | Rich Variety | OpenAI-only | QwenLLM | Rich Variety | | **Supported LLMs** | Rich Variety | Rich Variety | OpenAI-only | QwenLLM | Rich Variety |
| **Local Deployment** | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | :x: | :x: | | **Local Deployment** | :white_check_mark: | :white_check_mark: | :x: | :x: | :x: |
| **Ecosystem Strategy** | Open Source | Open Source | Open Source | Close Source | Open Source | Open Source | | **Ecosystem Strategy** | Open Source | Open Source | Close Source | Open Source | Open Source |
## 🔎 System Architecture ## 🔎 System Architecture
......
...@@ -84,7 +84,7 @@ class TenantLLMService(CommonService): ...@@ -84,7 +84,7 @@ class TenantLLMService(CommonService):
if model_config["llm_factory"] not in EmbeddingModel: if model_config["llm_factory"] not in EmbeddingModel:
return return
return EmbeddingModel[model_config["llm_factory"]]( return EmbeddingModel[model_config["llm_factory"]](
model_config["api_key"], model_config["llm_name"], model_config["api_base"]) model_config["api_key"], model_config["llm_name"], base_url=model_config["api_base"])
if llm_type == LLMType.IMAGE2TEXT.value: if llm_type == LLMType.IMAGE2TEXT.value:
if model_config["llm_factory"] not in CvModel: if model_config["llm_factory"] not in CvModel:
...@@ -98,7 +98,7 @@ class TenantLLMService(CommonService): ...@@ -98,7 +98,7 @@ class TenantLLMService(CommonService):
if model_config["llm_factory"] not in ChatModel: if model_config["llm_factory"] not in ChatModel:
return return
return ChatModel[model_config["llm_factory"]]( return ChatModel[model_config["llm_factory"]](
model_config["api_key"], model_config["llm_name"], model_config["api_base"]) model_config["api_key"], model_config["llm_name"], base_url=model_config["api_base"])
@classmethod @classmethod
@DB.connection_context() @DB.connection_context()
......
...@@ -51,7 +51,7 @@ class Base(ABC): ...@@ -51,7 +51,7 @@ class Base(ABC):
class HuEmbedding(Base): class HuEmbedding(Base):
def __init__(self, **kwargs): def __init__(self, *args, **kwargs):
""" """
If you have trouble downloading HuggingFace models, -_^ this might help!! If you have trouble downloading HuggingFace models, -_^ this might help!!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment