mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-09-26 00:24:16 +00:00
Merge pull request #107 from tpoisonooo/patch-1
fix(lightrag_siliconcloud_demo.py): max_token_size
This commit is contained in:
commit
db5bbcd6a1
@ -30,7 +30,7 @@ async def embedding_func(texts: list[str]) -> np.ndarray:
|
||||
texts,
|
||||
model="netease-youdao/bce-embedding-base_v1",
|
||||
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