Update docs
This commit is contained in:
@@ -749,6 +749,7 @@ async def embedding_func(texts: list[str]) -> np.ndarray:
|
||||
rag = LightRAG(
|
||||
working_dir=WORKING_DIR,
|
||||
llm_model_func=llm_model_func,
|
||||
llm_model_name="gemini-2.0-flash",
|
||||
embedding_func=embedding_func
|
||||
)
|
||||
```
|
||||
@@ -972,7 +973,7 @@ async def initialize_rag():
|
||||
|
||||
* PostgreSQL 很轻量,包含所有必要插件的完整二进制发行版可以压缩到 40MB:参考 [Windows Release](https://github.com/ShanGor/apache-age-windows/releases/tag/PG17%2Fv1.5.0-rc0),Linux/Mac 也很容易安装。
|
||||
* 如果您喜欢 docker,建议初学者使用此镜像以避免出现问题(默认用户密码:rag/rag):https://hub.docker.com/r/gzdaniel/postgres-for-rag
|
||||
* 如何开始?参考:[examples/lightrag_zhipu_postgres_demo.py](https://github.com/HKUDS/LightRAG/blob/main/examples/lightrag_zhipu_postgres_demo.py)
|
||||
* 如何开始?参考:[examples/lightrag_gemini_postgres_demo.py](https://github.com/HKUDS/LightRAG/blob/main/examples/lightrag_gemini_postgres_demo.py)
|
||||
* 对于高性能图数据库需求,推荐使用 Neo4j,因为 Apache AGE 的性能不够理想。
|
||||
|
||||
</details>
|
||||
|
||||
Reference in New Issue
Block a user