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"], | ||||
|         record_delimiter=PROMPTS["DEFAULT_RECORD_DELIMITER"], | ||||
|         completion_delimiter=PROMPTS["DEFAULT_COMPLETION_DELIMITER"], | ||||
|         entity_types=",".join(entity_types), | ||||
|         entity_types=", ".join(entity_types), | ||||
|         language=language, | ||||
|     ) | ||||
|     # add example's format | ||||
|  | ||||
| @ -47,8 +47,9 @@ Format the content-level key words as ("content_keywords"{tuple_delimiter}<high_ | ||||
| ############################# | ||||
| ---Real Data--- | ||||
| ###################### | ||||
| Entity_types: {entity_types} | ||||
| Text: {input_text} | ||||
| Entity_types: [{entity_types}] | ||||
| Text: | ||||
| {input_text} | ||||
| ###################### | ||||
| Output:""" | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Zhichun Wu
						Zhichun Wu