File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 1- from semantic_kernel .kernel_pydantic import KernelBaseModel
1+ """SQL semantic verifier response models"""
2+
3+ from semantic_kernel .kernel_pydantic import KernelBaseModel
24
35
46class SemanticVerifierResponse (KernelBaseModel ):
57 """
6- Response model for the semantic verifier agent
7- Args:
8- analysis (str): The analysis of the SQL query.
9- judgement (str): The judgement of the SQL query.
10- differences (list[str]): List of differences found in the SQL query.
11- summary (str): A one sentence summary of the response.
8+ Model for the response of the semantic verifier agent
129 """
1310
14- analysis : str
1511 judgement : str
1612 differences : list [str ]
1713 summary : str
Original file line number Diff line number Diff line change @@ -120,6 +120,9 @@ async def convert_script(
120120 )
121121 current_migration = result .fixed_query
122122 case AgentType .SEMANTIC_VERIFIER .value :
123+ logger .info (
124+ "Semantic verifier agent response: %s" , response .content
125+ )
123126 result = SemanticVerifierResponse .model_validate_json (
124127 response .content or ""
125128 )
You can’t perform that action at this time.
0 commit comments