Skip to content

Instantly share code, notes, and snippets.

View tufac2's full-sized avatar

Fabián tufac2

View GitHub Profile
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.