mirror of
				https://github.com/HKUDS/LightRAG.git
				synced 2025-11-04 03:39:35 +00:00 
			
		
		
		
	Merge pull request #107 from tpoisonooo/patch-1
fix(lightrag_siliconcloud_demo.py): max_token_size
This commit is contained in:
		
						commit
						1ce4605fbe
					
				@ -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