mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-08 21:02:12 +02:00
Closes #870. query.split()[0] in _generate_with_llm raised IndexError when the LLM response 'query' field passed the keyword-startswith guard but split to an empty list (e.g. if the guard is ever weakened during refactoring). Compute parts once, return None when empty, and reuse parts[0] for the query_type read. Signed-off-by: SAY-5 <saiasish.cnp@gmail.com> |
||
|---|---|---|
| .. | ||
| conftest.py | ||
| test_doc_embeddings_milvus_query.py | ||
| test_doc_embeddings_pinecone_query.py | ||
| test_doc_embeddings_qdrant_query.py | ||
| test_graph_embeddings_milvus_query.py | ||
| test_graph_embeddings_pinecone_query.py | ||
| test_graph_embeddings_qdrant_query.py | ||
| test_memgraph_workspace_collection_query.py | ||
| test_neo4j_workspace_collection_query.py | ||
| test_rows_cassandra_query.py | ||
| test_sparql_expressions.py | ||
| test_sparql_generator.py | ||
| test_sparql_parser.py | ||
| test_sparql_solutions.py | ||
| test_triples_cassandra_query.py | ||
| test_triples_falkordb_query.py | ||
| test_triples_memgraph_query.py | ||
| test_triples_neo4j_query.py | ||