Merge pull request #107 from tpoisonooo/patch-1
fix(lightrag_siliconcloud_demo.py): max_token_size
This commit is contained in:
commit
db5bbcd6a1
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue