Fix linting
This commit is contained in:
@@ -558,13 +558,16 @@ rag.insert_custom_kg(custom_kg)
|
|||||||
|
|
||||||
## 插入
|
## 插入
|
||||||
|
|
||||||
#### 基本插入
|
<details>
|
||||||
|
<summary> <b> 基本插入 </b></summary>
|
||||||
|
|
||||||
```python
|
```python
|
||||||
# 基本插入
|
# 基本插入
|
||||||
rag.insert("文本")
|
rag.insert("文本")
|
||||||
```
|
```
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary> <b> 批量插入 </b></summary>
|
<summary> <b> 批量插入 </b></summary>
|
||||||
|
|
||||||
@@ -761,7 +764,7 @@ rag = LightRAG(
|
|||||||
create INDEX CONCURRENTLY entity_idx_node_id ON dickens."Entity" (ag_catalog.agtype_access_operator(properties, '"node_id"'::agtype));
|
create INDEX CONCURRENTLY entity_idx_node_id ON dickens."Entity" (ag_catalog.agtype_access_operator(properties, '"node_id"'::agtype));
|
||||||
CREATE INDEX CONCURRENTLY entity_node_id_gin_idx ON dickens."Entity" using gin(properties);
|
CREATE INDEX CONCURRENTLY entity_node_id_gin_idx ON dickens."Entity" using gin(properties);
|
||||||
ALTER TABLE dickens."DIRECTED" CLUSTER ON directed_sid_idx;
|
ALTER TABLE dickens."DIRECTED" CLUSTER ON directed_sid_idx;
|
||||||
|
|
||||||
-- 如有必要可以删除
|
-- 如有必要可以删除
|
||||||
drop INDEX entity_p_idx;
|
drop INDEX entity_p_idx;
|
||||||
drop INDEX vertex_p_idx;
|
drop INDEX vertex_p_idx;
|
||||||
@@ -784,6 +787,8 @@ rag = LightRAG(
|
|||||||
> 您可以从源代码编译AGE来修复它。
|
> 您可以从源代码编译AGE来修复它。
|
||||||
>
|
>
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
## 删除
|
## 删除
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
Reference in New Issue
Block a user