This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| async def kg_test(self, state: State) -> State: | |
| print("🕸️ Generando Cypher Query para Knowledge Graph...") | |
| customer_profile = state.get("customerProfile") | |
| system_template = """You are an expert assistant in creating Knowledge Graphs generating Cypher Queries. | |
| Your tasks are: | |
| 1. Identify entities and relationships and property keys from the context. | |
| 2. Context is the Customer Profile provided. |