mirror of
				https://github.com/HKUDS/LightRAG.git
				synced 2025-10-31 01:39:56 +00:00 
			
		
		
		
	consistent format
This commit is contained in:
		
							parent
							
								
									c785b4ba7d
								
							
						
					
					
						commit
						d79a9d7acc
					
				| @ -362,7 +362,7 @@ async def extract_entities( | |||||||
|         tuple_delimiter=PROMPTS["DEFAULT_TUPLE_DELIMITER"], |         tuple_delimiter=PROMPTS["DEFAULT_TUPLE_DELIMITER"], | ||||||
|         record_delimiter=PROMPTS["DEFAULT_RECORD_DELIMITER"], |         record_delimiter=PROMPTS["DEFAULT_RECORD_DELIMITER"], | ||||||
|         completion_delimiter=PROMPTS["DEFAULT_COMPLETION_DELIMITER"], |         completion_delimiter=PROMPTS["DEFAULT_COMPLETION_DELIMITER"], | ||||||
|         entity_types=",".join(entity_types), |         entity_types=", ".join(entity_types), | ||||||
|         language=language, |         language=language, | ||||||
|     ) |     ) | ||||||
|     # add example's format |     # add example's format | ||||||
|  | |||||||
| @ -47,8 +47,9 @@ Format the content-level key words as ("content_keywords"{tuple_delimiter}<high_ | |||||||
| ############################# | ############################# | ||||||
| ---Real Data--- | ---Real Data--- | ||||||
| ###################### | ###################### | ||||||
| Entity_types: {entity_types} | Entity_types: [{entity_types}] | ||||||
| Text: {input_text} | Text: | ||||||
|  | {input_text} | ||||||
| ###################### | ###################### | ||||||
| Output:""" | Output:""" | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Zhichun Wu
						Zhichun Wu