You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/doc_architecture.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ The module contains only 3 parts:
30
30
.
31
31
├── frontend # Frontends like Lark, WeChat, etc., are part of the algorithm
32
32
├── main.py # main provides an example program
33
-
├── service#service is the implementation of the algorithm
33
+
├── services#services is the implementation of the algorithm
34
34
```
35
35
36
36
**service** In our [paper](https://arxiv.org/abs/2401.08772), we introduced HuixiangDou as a pipeline structure; in implementation, it may include functions, a local LLM, or an RPC. All these foundational capabilities are regarded as services.
@@ -45,7 +45,7 @@ This is where the main body of the HuixiangDou pipeline is.
45
45
46
46
```bash
47
47
.
48
-
├── feature_store.py # Manages the creation and query of text features. In the future, "creation" and "query" will be separated
48
+
├── store.py # Manages the creation and query of text features. In the future, "creation" and "query" will be separated
49
49
├── helper.py # Contains some helper tools
50
50
├── llm_client.py # LLM might be an RPC, so a client is needed
51
51
├── llm_server_hybrid.py # There might be more than one LLM, hence the name hybrid
@@ -54,7 +54,7 @@ This is where the main body of the HuixiangDou pipeline is.
54
54
└── worker.py # The main logic as mentioned in the paper, calling the components above
55
55
```
56
56
57
-
**1. feature_store.py** In the era of facial recognition, the storage and retrieval of facial features are called a feature store, which is the origin of the name.
57
+
**1. store.py** In the era of facial recognition, the storage and retrieval of facial features are called a feature store, which is the origin of the name.
58
58
59
59
1. When extracting features, the text will be partitionally split (the construction technique affects accuracy), the text2vec model extracts features, and saves them locally;
60
60
2. During retrieval, in addition to directly using text2vec matching, a re-rank model will adjust the order
0 commit comments