Update docs

This commit is contained in:
yangdx
2025-12-30 13:26:33 +08:00
parent c87f1067f5
commit 705e700200

View File

@@ -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/raghttps://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>