GML-2078 Release 1.3.1#34
Conversation
- Upgrade pyTigerGraph dependency from ==1.9.1 to >=2.0.3 - Fix WebSocket chat crash on early client disconnect (catch WebSocketDisconnect during auth and conversation ID phases) - Auto-recreate loading jobs before ingestion if missing - Parse loading job statistics for accurate document/rejected line counts - Clarify file preparation log to distinguish JSONL copies from conversions
- Extract COMMUNITY_QUERIES and REQUIRED_QUERIES constants to scope query reinstallation per pipeline step - Reinstall community queries before community detection to prevent 404 errors from missing louvain queries - Add post-pipeline verification of query and loading job status - Harden error detection in install_queries (case-insensitive, check for "does not exist" and "failed" patterns) - Replace listGraphs() with getVertexTypes() for graph existence check in ECC main to avoid KeyError on GraphName - Switch chatbot supportai detection from query metadata to DocumentChunk vertex type existence check
…etadata, reduce stream_community response size - Fix __del__ JSON parse error by using json.dumps instead of str() for token revocation payload - Replace deprecated LS USER GSQL command with conn.listGraphs() REST API - Remove getQueryMetadata() calls and unused query_output_format field from agent search methods - Project only vertex ID in stream_community query to stay within 5MB response limit
…xists, fuzzy dedup in get_vert_desc - check_vertex_exists uses direct REST call with select=description to avoid fetching all vertex attributes - get_vert_desc uses SequenceMatcher fuzzy matching (threshold 0.85) to prevent near-duplicate descriptions from accumulating in Entity SET<STRING> - Optimized matching with length pre-filter and quick_ratio before full ratio computation
- Remove COMMUNITY_QUERIES from REQUIRED_QUERIES to avoid installing them during init - Community queries are already installed at the start of community detection (graph_rag.py) - Reduces init timeout risk by deferring INSTALL QUERY ALL to when community queries are needed
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
User description
Bug fixes.
PR Type
Bug fix, Enhancement
Description
Harden TigerGraph query and ingest flows
Fix chat and connection stability
getVertexTypeslistGraphs()over deprecatedLS USERReduce graph payloads and duplication
descriptionfor entitiesstream_communityoutput to IDsExpand file processing support
.pngand.gifextraction supportDiagram Walkthrough
File Walkthrough
8 files
Fix token revocation payload and destructor safetyScope required queries and optimize vertex checksHarden query install checks and deduplicate descriptionsImprove install error detection and vertex fetchingAdd fuzzy description deduplication for entitiesDetect SupportAI via schema and remove metadata callsHandle websocket disconnects and replace deprecated graph listingRecreate loading jobs and parse ingestion statistics3 files
Add image formats and clearer preparation loggingReinstall community queries and verify pipeline artifactsReduce community query output to vertex IDs1 files
Validate graph existence before starting ECC tasks1 files
Document release 1.3.1 fixes and improvements1 files
Bump application version to 1.3.11 files
Upgrade `pyTigerGraph` dependency to supported version