gzdaniel commited on
Commit
e063bc4
·
1 Parent(s): 4a83c3c

Update README

Browse files
Files changed (2) hide show
  1. README-zh.md +3 -1
  2. README.md +3 -1
README-zh.md CHANGED
@@ -111,6 +111,8 @@ python examples/lightrag_openai_demo.py
111
 
112
  ## 使用LightRAG Core进行编程
113
 
 
 
114
  ### 一个简单程序
115
 
116
  以下Python代码片段演示了如何初始化LightRAG、插入文本并进行查询:
@@ -769,7 +771,7 @@ rag = LightRAG(
769
  create INDEX CONCURRENTLY entity_idx_node_id ON dickens."Entity" (ag_catalog.agtype_access_operator(properties, '"node_id"'::agtype));
770
  CREATE INDEX CONCURRENTLY entity_node_id_gin_idx ON dickens."Entity" using gin(properties);
771
  ALTER TABLE dickens."DIRECTED" CLUSTER ON directed_sid_idx;
772
-
773
  -- 如有必要可以删除
774
  drop INDEX entity_p_idx;
775
  drop INDEX vertex_p_idx;
 
111
 
112
  ## 使用LightRAG Core进行编程
113
 
114
+ > 如果您希望将LightRAG集成到您的项目中,建议您使用LightRAG Server提供的REST API。LightRAG Core通常用于嵌入式应用,或供希望进行研究与评估的学者使用。
115
+
116
  ### 一个简单程序
117
 
118
  以下Python代码片段演示了如何初始化LightRAG、插入文本并进行查询:
 
771
  create INDEX CONCURRENTLY entity_idx_node_id ON dickens."Entity" (ag_catalog.agtype_access_operator(properties, '"node_id"'::agtype));
772
  CREATE INDEX CONCURRENTLY entity_node_id_gin_idx ON dickens."Entity" using gin(properties);
773
  ALTER TABLE dickens."DIRECTED" CLUSTER ON directed_sid_idx;
774
+
775
  -- 如有必要可以删除
776
  drop INDEX entity_p_idx;
777
  drop INDEX vertex_p_idx;
README.md CHANGED
@@ -147,6 +147,8 @@ For a streaming response implementation example, please see `examples/lightrag_o
147
 
148
  ## Programing with LightRAG Core
149
 
 
 
150
  ### A Simple Program
151
 
152
  Use the below Python snippet to initialize LightRAG, insert text to it, and perform queries:
@@ -773,7 +775,7 @@ For production level scenarios you will most likely want to leverage an enterpri
773
  create INDEX CONCURRENTLY entity_idx_node_id ON dickens."Entity" (ag_catalog.agtype_access_operator(properties, '"node_id"'::agtype));
774
  CREATE INDEX CONCURRENTLY entity_node_id_gin_idx ON dickens."Entity" using gin(properties);
775
  ALTER TABLE dickens."DIRECTED" CLUSTER ON directed_sid_idx;
776
-
777
  -- drop if necessary
778
  drop INDEX entity_p_idx;
779
  drop INDEX vertex_p_idx;
 
147
 
148
  ## Programing with LightRAG Core
149
 
150
+ > If you would like to integrate LightRAG into your project, we recommend utilizing the REST API provided by the LightRAG Server. LightRAG Core is typically intended for embedded applications or for researchers who wish to conduct studies and evaluations.
151
+
152
  ### A Simple Program
153
 
154
  Use the below Python snippet to initialize LightRAG, insert text to it, and perform queries:
 
775
  create INDEX CONCURRENTLY entity_idx_node_id ON dickens."Entity" (ag_catalog.agtype_access_operator(properties, '"node_id"'::agtype));
776
  CREATE INDEX CONCURRENTLY entity_node_id_gin_idx ON dickens."Entity" using gin(properties);
777
  ALTER TABLE dickens."DIRECTED" CLUSTER ON directed_sid_idx;
778
+
779
  -- drop if necessary
780
  drop INDEX entity_p_idx;
781
  drop INDEX vertex_p_idx;