mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-10-14 17:38:29 +00:00
Update lightrag_siliconcloud_demo.py
This commit is contained in:
parent
5822e7012f
commit
ed59b1e143
@ -30,7 +30,7 @@ async def embedding_func(texts: list[str]) -> np.ndarray:
|
|||||||
texts,
|
texts,
|
||||||
model="netease-youdao/bce-embedding-base_v1",
|
model="netease-youdao/bce-embedding-base_v1",
|
||||||
api_key=os.getenv("UPSTAGE_API_KEY"),
|
api_key=os.getenv("UPSTAGE_API_KEY"),
|
||||||
max_token_size=int(512 * 1.5)
|
max_token_size=512
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user