Repository Analysis

run-llama/llama_index

LlamaIndex is the leading document agent and OCR platform

21.3 Moderate AI signal View on GitHub
21.3
Adjusted Score
21.3
Raw Score
100%
Time Factor
2026-05-29
Last Push
49,767
Stars
Python
Language
630,184
Lines of Code
6555
Files
9090
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 35HIGH 812MEDIUM 405LOW 7838

Pattern Findings

9090 matches across 20 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers4152 hits · 4152 pts
SeverityFileLineSnippet
LOWllama-index-instrumentation/tests/test_shutdown.py12def test_shutdown_drops_all_open_spans():
LOWllama-index-instrumentation/tests/test_shutdown.py32def test_shutdown_calls_close_on_handlers():
LOWllama-index-instrumentation/tests/test_shutdown.py47def test_shutdown_walks_parent_chain():
LOWllama-index-instrumentation/tests/test_shutdown.py75def test_shutdown_is_idempotent():
LOWllama-index-instrumentation/tests/test_shutdown.py87def test_close_default_is_noop():
LOWllama-index-instrumentation/tests/test_manager.py4def test_root_manager_add_dispatcher():
LOWllama-index-instrumentation/tests/test_dispatcher.py806def test_span_decorator_is_idempotent(mock_span_enter):
LOWllama-index-instrumentation/tests/test_dispatcher.py813def test_span_decorator_is_idempotent_with_pass_through(mock_span_enter):
LOWllama-index-instrumentation/tests/test_dispatcher.py821def test_mixin_decorates_abstract_method(mock_span_enter):
LOWllama-index-instrumentation/tests/test_dispatcher.py113def func_with_event_backwards_compat(a, b=3, **kwargs):
LOWllama-index-instrumentation/tests/test_dispatcher.py149 def func_with_event_backwards_compat(self, a, b=3, **kwargs):
LOWllama-index-instrumentation/tests/test_dispatcher.py157def test_dispatcher_span_args(mock_uuid, mock_span_enter, mock_span_exit):
LOWllama-index-instrumentation/tests/test_dispatcher.py193def test_dispatcher_span_args_with_instance(mock_uuid, mock_span_enter, mock_span_exit):
LOWllama-index-instrumentation/tests/test_dispatcher.py231def test_dispatcher_span_drop_args(
LOWllama-index-instrumentation/tests/test_dispatcher.py269async def test_dispatcher_async_span_args(mock_uuid, mock_span_enter, mock_span_exit):
LOWllama-index-instrumentation/tests/test_dispatcher.py306async def test_dispatcher_async_span_args_with_instance(
LOWllama-index-instrumentation/tests/test_dispatcher.py347async def test_dispatcher_async_span_drop_args(
LOWllama-index-instrumentation/tests/test_dispatcher.py386async def test_dispatcher_async_span_drop_args_with_instance(
LOWllama-index-instrumentation/tests/test_dispatcher.py424def test_dispatcher_fire_event(
LOWllama-index-instrumentation/tests/test_dispatcher.py456async def test_dispatcher_async_fire_event(
LOWllama-index-instrumentation/tests/test_dispatcher.py491async def test_dispatcher_attaches_tags_to_events_and_spans(
LOWllama-index-instrumentation/tests/test_dispatcher.py512def test_dispatcher_attaches_tags_to_concurrent_events(
LOWllama-index-instrumentation/tests/test_dispatcher.py550def test_dispatcher_fire_event_with_instance(
LOWllama-index-instrumentation/tests/test_dispatcher.py580async def test_dispatcher_async_fire_event_with_instance(
LOWllama-index-instrumentation/tests/test_dispatcher.py747def test_dispatcher_fire_event_backwards_compat(
LOWllama-index-instrumentation/tests/test_dispatcher.py779def test_dispatcher_fire_event_with_instance_backwards_compat(
LOWllama-index-instrumentation/tests/test_dispatcher.py833def test_mixin_decorates_overridden_method(mock_span_enter):
LOWllama-index-instrumentation/tests/test_dispatcher.py847def test_span_naming_with_inheritance(mock_uuid, mock_span_enter, mock_span_exit):
LOWllama-index-instrumentation/tests/test_dispatcher.py898async def test_async_span_naming_with_inheritance(
LOWllama-index-instrumentation/tests/test_dispatcher.py935def test_span_naming_regular_functions_unchanged(
LOWllama-index-instrumentation/tests/test_dispatcher.py960def test_span_naming_complex_inheritance(mock_uuid, mock_span_enter, mock_span_exit):
LOWllama-index-instrumentation/tests/test_dispatcher.py1011def test_span_naming_with_method_override(mock_uuid, mock_span_enter, mock_span_exit):
LOWllama-index-instrumentation/tests/test_dispatcher.py1046def test_span_naming_with_nested_classes(mock_uuid, mock_span_enter, mock_span_exit):
LOWllama-index-instrumentation/tests/test_dispatcher.py1078def test_aevent_with_sync_handlers():
LOWllama-index-instrumentation/tests/test_dispatcher.py1094async def test_aevent_with_async_handlers():
LOWllama-index-instrumentation/tests/test_dispatcher.py1111async def test_aevent_concurrent_handlers():
LOWllama-index-instrumentation/tests/test_dispatcher.py1134async def test_aevent_error_isolation():
LOWllama-index-instrumentation/tests/test_dispatcher.py1194async def test_aevent_no_propagation():
LOWllama-index-instrumentation/tests/test_propagation.py15 def capture_propagation_context(self) -> Dict[str, Any]:
LOWllama-index-instrumentation/tests/test_propagation.py18 def restore_propagation_context(self, context: Dict[str, Any]) -> None:
LOWllama-index-instrumentation/tests/test_propagation.py22def test_capture_propagation_context_basic():
LOWllama-index-instrumentation/tests/test_propagation.py32def test_capture_includes_instrument_tags():
LOWllama-index-instrumentation/tests/test_propagation.py45def test_capture_omits_instrument_tags_when_empty():
LOWllama-index-instrumentation/tests/test_propagation.py54def test_restore_propagation_context_basic():
LOWllama-index-instrumentation/tests/test_propagation.py64def test_restore_sets_instrument_tags():
LOWllama-index-instrumentation/tests/test_propagation.py75def test_capture_walks_parent_chain():
LOWllama-index-instrumentation/tests/test_propagation.py97def test_restore_walks_parent_chain():
LOWllama-index-instrumentation/tests/test_propagation.py120def test_capture_stops_at_propagate_false():
LOWllama-index-instrumentation/tests/test_propagation.py142def test_roundtrip_capture_restore():
LOWllama-index-instrumentation/tests/test_propagation.py164def test_capture_swallows_handler_exceptions():
LOWllama-index-instrumentation/tests/test_propagation.py166 def capture_propagation_context(self) -> Dict[str, Any]:
LOWllama-index-instrumentation/tests/test_propagation.py177def test_restore_swallows_handler_exceptions():
LOWllama-index-instrumentation/tests/test_propagation.py179 def restore_propagation_context(self, context: Dict[str, Any]) -> None:
LOW…entation/src/llama_index_instrumentation/dispatcher.py275 def capture_propagation_context(self) -> Dict[str, Any]:
LOW…entation/src/llama_index_instrumentation/dispatcher.py294 def restore_propagation_context(self, context: Dict[str, Any]) -> None:
LOW…/src/llama_index_instrumentation/span_handlers/base.py144 def capture_propagation_context(self) -> Dict[str, Any]:
LOW…/src/llama_index_instrumentation/span_handlers/base.py153 def restore_propagation_context(self, context: Dict[str, Any]) -> None:
LOW…ocs/framework/understanding/agent/structured_output.md107async def structured_output_parsing(
LOW…ama-index-utils-azure/llama_index/utils/azure/table.py51def validate_table_property_count(num_properties: int) -> None:
LOW…ama-index-utils-azure/llama_index/utils/azure/table.py63def validate_table_total_property_size(
4092 more matches not shown…
Cross-File Repetition430 hits · 2150 pts
SeverityFileLineSnippet
HIGH…ndex-utils-oracleai/llama_index/utils/oracleai/base.py0declare input clob; begin input := :data; :summ := dbms_vector_chain.utl_to_summary(input, json(:params)); end;
HIGH…ndex-utils-oracleai/llama_index/utils/oracleai/base.py0declare input clob; begin input := :data; :summ := dbms_vector_chain.utl_to_summary(input, json(:params)); end;
HIGH…ndex-utils-oracleai/llama_index/utils/oracleai/base.py0declare input clob; begin input := :data; :summ := dbms_vector_chain.utl_to_summary(input, json(:params)); end;
HIGH…ndex-utils-oracleai/llama_index/utils/oracleai/base.py0declare input clob; begin input := :data; :summ := dbms_vector_chain.utl_to_summary(input, json(:params)); end;
HIGH…toredb/llama_index/vector_stores/singlestoredb/base.py0add nodes to index. args: nodes: list[basenode]: list of nodes with embeddings
HIGH…es-pinecone/llama_index/vector_stores/pinecone/base.py0add nodes to index. args: nodes: list[basenode]: list of nodes with embeddings
HIGH…es-supabase/llama_index/vector_stores/supabase/base.py0add nodes to index. args: nodes: list[basenode]: list of nodes with embeddings
HIGH…ores-vectorx/llama_index/vector_stores/vectorx/base.py0add nodes to index. args: nodes: list[basenode]: list of nodes with embeddings
HIGH…llama_index/vector_stores/vertexaivectorsearch/base.py0add nodes to index. args: nodes: list[basenode]: list of nodes with embeddings
HIGH…ordb/llama_index/vector_stores/tencentvectordb/base.py0add nodes to index. args: nodes: list[basenode]: list of nodes with embeddings
HIGH…-vector-stores-s3/llama_index/vector_stores/s3/base.py0add nodes to index. args: nodes: list[basenode]: list of nodes with embeddings
HIGH…es-weaviate/llama_index/vector_stores/weaviate/base.py0add nodes to index. args: nodes: list[basenode]: list of nodes with embeddings
HIGH…stores-jaguar/llama_index/vector_stores/jaguar/base.py0add nodes to index. args: nodes: list[basenode]: list of nodes with embeddings
HIGH…stores-chroma/llama_index/vector_stores/chroma/base.py0add nodes to index. args: nodes: list[basenode]: list of nodes with embeddings
HIGH…lickhouse/llama_index/vector_stores/clickhouse/base.py0add nodes to index. args: nodes: list[basenode]: list of nodes with embeddings
HIGH…r-stores-txtai/llama_index/vector_stores/txtai/base.py0add nodes to index. args: nodes: list[basenode]: list of nodes with embeddings
HIGH…ores-hnswlib/llama_index/vector_stores/hnswlib/base.py0add nodes to index. args: nodes: list[basenode]: list of nodes with embeddings
HIGH…atabricks/llama_index/vector_stores/databricks/base.py0add nodes to index. args: nodes: list[basenode]: list of nodes with embeddings
HIGH…-typesense/llama_index/vector_stores/typesense/base.py0add nodes to index. args: nodes: list[basenode]: list of nodes with embeddings
HIGH…toredb/llama_index/vector_stores/singlestoredb/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…es-pinecone/llama_index/vector_stores/pinecone/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…stores-duckdb/llama_index/vector_stores/duckdb/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…ores-lancedb/llama_index/vector_stores/lancedb/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…llama_index/vector_stores/vertexaivectorsearch/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…-cassandra/llama_index/vector_stores/cassandra/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…ma_index/vector_stores/alibabacloud_opensearch/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…es-deeplake/llama_index/vector_stores/deeplake/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…es-weaviate/llama_index/vector_stores/weaviate/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…ashvector/llama_index/vector_stores/dashvector/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…stores-jaguar/llama_index/vector_stores/jaguar/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…res-faiss/llama_index/vector_stores/faiss/map_store.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…r-stores-faiss/llama_index/vector_stores/faiss/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…ores-mongodb/llama_index/vector_stores/mongodb/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…stores-chroma/llama_index/vector_stores/chroma/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…lickhouse/llama_index/vector_stores/clickhouse/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…r-stores-txtai/llama_index/vector_stores/txtai/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…ores-epsilla/llama_index/vector_stores/epsilla/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…es-hologres/llama_index/vector_stores/hologres/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…ores-hnswlib/llama_index/vector_stores/hnswlib/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…es-moorcheh/llama_index/vector_stores/moorcheh/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…ngo/llama_index/vector_stores/azurecosmosmongo/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…-typesense/llama_index/vector_stores/typesense/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…pensearch/llama_index/vector_stores/opensearch/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…-oceanbase/llama_index/vector_stores/oceanbase/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…es-dynamodb/llama_index/vector_stores/dynamodb/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…sql/llama_index/vector_stores/azurecosmosnosql/base.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…ma-index-core/llama_index/core/vector_stores/simple.py0delete nodes using with ref_doc_id. args: ref_doc_id (str): the doc_id of the document to delete.
HIGH…es-pinecone/llama_index/vector_stores/pinecone/base.py0query index for top k most similar nodes. args: query_embedding (list[float]): query embedding similarity_top_k (int): t
HIGH…res-faiss/llama_index/vector_stores/faiss/map_store.py0query index for top k most similar nodes. args: query_embedding (list[float]): query embedding similarity_top_k (int): t
HIGH…r-stores-faiss/llama_index/vector_stores/faiss/base.py0query index for top k most similar nodes. args: query_embedding (list[float]): query embedding similarity_top_k (int): t
HIGH…es-hologres/llama_index/vector_stores/hologres/base.py0query index for top k most similar nodes. args: query_embedding (list[float]): query embedding similarity_top_k (int): t
HIGH…es-awsdocdb/llama_index/vector_stores/awsdocdb/base.py0add nodes to index. args: nodes: list[basenode]: list of nodes with embeddings returns: a list of ids for successfully a
HIGH…ores-mongodb/llama_index/vector_stores/mongodb/base.py0add nodes to index. args: nodes: list[basenode]: list of nodes with embeddings returns: a list of ids for successfully a
HIGH…ngo/llama_index/vector_stores/azurecosmosmongo/base.py0add nodes to index. args: nodes: list[basenode]: list of nodes with embeddings returns: a list of ids for successfully a
HIGH…sql/llama_index/vector_stores/azurecosmosnosql/base.py0add nodes to index. args: nodes: list[basenode]: list of nodes with embeddings returns: a list of ids for successfully a
HIGH…es-postgres/llama_index/vector_stores/postgres/base.py0this part create a dynamic sqlalchemy model with a new table.
HIGH…ores-lantern/llama_index/vector_stores/lantern/base.py0this part create a dynamic sqlalchemy model with a new table.
HIGH…ugabytedb/llama_index/vector_stores/yugabytedb/base.py0this part create a dynamic sqlalchemy model with a new table.
HIGH…-openGauss/llama_index/vector_stores/openGauss/base.py0this part create a dynamic sqlalchemy model with a new table.
HIGH…-postgres/llama_index/storage/kvstore/postgres/base.py0this part create a dynamic sqlalchemy model with a new table.
370 more matches not shown…
Unused Imports1956 hits · 1890 pts
SeverityFileLineSnippet
LOW…llama_index_instrumentation/event_handlers/__init__.py1
LOW…llama_index_instrumentation/event_handlers/__init__.py2
LOW…ation/src/llama_index_instrumentation/span/__init__.py4
LOW…ation/src/llama_index_instrumentation/span/__init__.py5
LOW…/llama_index_instrumentation/span_handlers/__init__.py1
LOW…/llama_index_instrumentation/span_handlers/__init__.py2
LOW…/llama_index_instrumentation/span_handlers/__init__.py3
LOW…ation/src/llama_index_instrumentation/base/__init__.py1
LOW…ation/src/llama_index_instrumentation/base/__init__.py2
LOW…-index-utils-azure/llama_index/utils/azure/__init__.py1
LOW…-index-utils-azure/llama_index/utils/azure/__init__.py1
LOW…-index-utils-azure/llama_index/utils/azure/__init__.py1
LOW…-index-utils-azure/llama_index/utils/azure/__init__.py1
LOW…ex-utils-qianfan/llama_index/utils/qianfan/__init__.py1
LOW…ex-utils-qianfan/llama_index/utils/qianfan/__init__.py2
LOW…ex-utils-qianfan/llama_index/utils/qianfan/__init__.py2
LOW…ex-utils-qianfan/llama_index/utils/qianfan/__init__.py2
LOW…-huggingface/llama_index/utils/huggingface/__init__.py1
LOW…-huggingface/llama_index/utils/huggingface/__init__.py1
LOW…-huggingface/llama_index/utils/huggingface/__init__.py1
LOW…-huggingface/llama_index/utils/huggingface/__init__.py1
LOW…-huggingface/llama_index/utils/huggingface/__init__.py1
LOW…-huggingface/llama_index/utils/huggingface/__init__.py1
LOW…-huggingface/llama_index/utils/huggingface/__init__.py1
LOW…-huggingface/llama_index/utils/huggingface/__init__.py1
LOW…-huggingface/llama_index/utils/huggingface/__init__.py1
LOW…-huggingface/llama_index/utils/huggingface/__init__.py1
LOW…-huggingface/llama_index/utils/huggingface/__init__.py1
LOW…-huggingface/llama_index/utils/huggingface/__init__.py1
LOW…-huggingface/llama_index/utils/huggingface/__init__.py1
LOW…-utils-oracleai/llama_index/utils/oracleai/__init__.py1
LOW…ndex-utils-oracleai/llama_index/utils/oracleai/base.py10
LOW…ed/llama_index/sparse_embeddings/fastembed/__init__.py1
LOW…ma-index-sparse-embeddings-fastembed/tests/conftest.py2
LOW…db/llama_index/vector_stores/singlestoredb/__init__.py1
LOW…es-qdrant/llama_index/vector_stores/qdrant/__init__.py1
LOW…inecone/llama_index/vector_stores/pinecone/__init__.py1
LOW…wsdocdb/llama_index/vector_stores/awsdocdb/__init__.py1
LOW…llama-index-vector-stores-awsdocdb/tests/test_docdb.py3
LOW…es-duckdb/llama_index/vector_stores/duckdb/__init__.py1
LOW…upabase/llama_index/vector_stores/supabase/__init__.py1
LOW…-upstash/llama_index/vector_stores/upstash/__init__.py1
LOW…-lancedb/llama_index/vector_stores/lancedb/__init__.py1
LOW…ch/llama_index/vector_stores/elasticsearch/__init__.py1
LOW…ch/llama_index/vector_stores/elasticsearch/__init__.py3
LOW…ch/llama_index/vector_stores/elasticsearch/__init__.py3
LOW…ch/llama_index/vector_stores/elasticsearch/__init__.py3
LOW…ch/llama_index/vector_stores/elasticsearch/__init__.py3
LOW…ma-index-vector-stores-elasticsearch/tests/conftest.py2
LOW…lasticsearch/tests/test_vector_stores_elasticsearch.py1
LOW…ostgres/llama_index/vector_stores/postgres/__init__.py1
LOW…es-postgres/llama_index/vector_stores/postgres/base.py17
LOW…es-postgres/llama_index/vector_stores/postgres/base.py18
LOW…es-postgres/llama_index/vector_stores/postgres/base.py20
LOW…s/llama-index-vector-stores-postgres/tests/conftest.py2
LOW…ma-index-vector-stores-postgres/tests/test_postgres.py51
LOW…ma-index-vector-stores-postgres/tests/test_postgres.py52
LOW…ma-index-vector-stores-postgres/tests/test_postgres.py54
LOW…ma-index-vector-stores-postgres/tests/test_postgres.py55
LOW…-vectorx/llama_index/vector_stores/vectorx/__init__.py1
1896 more matches not shown…
Docstring Block Structure178 hits · 890 pts
SeverityFileLineSnippet
HIGH…stores-qdrant/llama_index/vector_stores/qdrant/base.py73 Qdrant Vector Store. In this vector store, embeddings and docs are stored within a Qdrant collection.
HIGH…stores-qdrant/llama_index/vector_stores/qdrant/base.py569 Asynchronous method to add nodes to Qdrant index. Args: nodes: List[BaseNode]: List of nod
HIGH…ores-lancedb/llama_index/vector_stores/lancedb/base.py96 The LanceDB Vector Store. Stores text and embeddings in LanceDB. The vector store will open an existing
HIGH…search/llama_index/vector_stores/elasticsearch/base.py125 Elasticsearch vector store. Args: index_name: Name of the Elasticsearch index. es_client: Opti
HIGH…search/llama_index/vector_stores/elasticsearch/base.py295 Add nodes to Elasticsearch index. Args: nodes: List of nodes with embeddings.
HIGH…search/llama_index/vector_stores/elasticsearch/base.py328 Asynchronous method to add nodes to Elasticsearch index. Args: nodes: List of nodes with e
HIGH…search/llama_index/vector_stores/elasticsearch/base.py476 Query index for top k most similar nodes. Args: query_embedding (List[float]): query embed
HIGH…search/llama_index/vector_stores/elasticsearch/base.py511 Asynchronous query index for top k most similar nodes. Args: query_embedding (VectorStoreQ
HIGH…search/llama_index/vector_stores/elasticsearch/base.py589 Asynchronously get nodes from Elasticsearch index. Args: node_ids (Optional[List[str]]): L
HIGH…ablestore/llama_index/vector_stores/tablestore/base.py24 Tablestore vector store. In this vector store we store the text, its embedding and its metadata in Tablest
HIGH…stores-milvus/llama_index/vector_stores/milvus/base.py119 The Milvus Vector Store. In this vector store we store the text, its embedding and a its metadata in a Mil
HIGH…stores-milvus/llama_index/vector_stores/milvus/base.py437 Add the embeddings and their nodes into Milvus. Args: nodes (List[BaseNode]): List of node
HIGH…stores-milvus/llama_index/vector_stores/milvus/base.py708 Get nodes by node ids or metadata filters. Args: node_ids (Optional[List[str]], optional):
HIGH…-vector-stores-s3/llama_index/vector_stores/s3/base.py314 Asynchronous method to add nodes to Qdrant index. Args: nodes: List[BaseNode]: List of nod
HIGH…es-deeplake/llama_index/vector_stores/deeplake/base.py581 Query index for top k most similar nodes. Args: query (VectorStoreQuery): VectorStoreQuery
HIGH…stores-chroma/llama_index/vector_stores/chroma/base.py372 Query index for top k most similar nodes. Args: query (VectorStoreQuery): Query object con
HIGH…res-solr/llama_index/vector_stores/solr/query_utils.py50 Convert a single metadata filter to Solr query string format. Handles various filter operators (EQ, NE, GT, LT,
HIGH…res-solr/llama_index/vector_stores/solr/query_utils.py146 Recursively unpack metadata filters to Solr filter query. Notes: Solr has issues with complex filters. We have
HIGH…tor-stores-solr/llama_index/vector_stores/solr/base.py182 Build a dense vector KNN query for Solr. Args: query: The vector store query containing em
HIGH…tor-stores-solr/llama_index/vector_stores/solr/base.py224 Build a BM25 text search query for Solr. Args: query: The vector store query containing th
HIGH…tor-stores-solr/llama_index/vector_stores/solr/base.py315 Convert Solr search results to LlamaIndex VectorStoreQueryResult format. This method transforms raw Sol
HIGH…tor-stores-solr/llama_index/vector_stores/solr/base.py417 Execute a synchronous search query against the Solr vector store. This method supports both dense vect
HIGH…tor-stores-solr/llama_index/vector_stores/solr/base.py484 Execute an asynchronous search query against the Solr vector store. This method supports both dense ve
HIGH…tor-stores-solr/llama_index/vector_stores/solr/base.py644 Asynchronously add nodes (documents) to a Solr collection. Mapping from Solr fields to :py:class:`llam
HIGH…res-solr/llama_index/vector_stores/solr/client/sync.py189 Delete documents from the Solr collection using their IDs. If the set of IDs is known, this is general
HIGH…es-solr/llama_index/vector_stores/solr/client/utils.py19 Format an input :py:class:`datetime.datetime` or :py:class:`datetime.date` into a Solr-compatible date string.
HIGH…s-solr/llama_index/vector_stores/solr/client/async_.py224 Asynchronously delete documents from the Solr collection using their IDs. If the set of IDs is known,
HIGH…ores-epsilla/llama_index/vector_stores/epsilla/base.py29 The Epsilla Vector Store. In this vector store we store the text, its embedding and a few pieces of its me
HIGH…idbvector/llama_index/vector_stores/tidbvector/base.py162 Perform a similarity search with the given query embedding. Args: query (VectorStoreQuery)
HIGH…idbvector/llama_index/vector_stores/tidbvector/base.py240 Converts metadata filters to TiDB filters. Args: metadata_filters (Optional[MetadataFilter
HIGH…es-bigquery/llama_index/vector_stores/bigquery/base.py446 Retrieve nodes from BigQuery using node IDs, metadata filters, or both. If both `node_ids` and `filter
HIGH…tor-stores-tair/llama_index/vector_stores/tair/base.py42 Initialize TairVectorStore. Two index types are available: FLAT & HNSW. index args for HNSW: - ef
HIGH…tor-stores-tair/llama_index/vector_stores/tair/base.py213 Query the index. Args: query (VectorStoreQuery): query object Returns:
HIGH…r-stores-redis/llama_index/vector_stores/redis/base.py85 RedisVectorStore. The RedisVectorStore takes a user-defined schema object and a Redis connection client or
HIGH…r-stores-redis/llama_index/vector_stores/redis/base.py305 Add nodes to the index. Args: nodes (List[BaseNode]): List of nodes with embeddings
HIGH…r-stores-redis/llama_index/vector_stores/redis/base.py364 Add nodes to the index. Args: nodes (List[BaseNode]): List of nodes with embeddings
HIGH…r-stores-redis/llama_index/vector_stores/redis/base.py644 Translate a standard metadata filter to a Redis specific filter expression. Args: field (B
HIGH…r-stores-redis/llama_index/vector_stores/redis/base.py819 Query the index. Args: query (VectorStoreQuery): query object Returns:
HIGH…r-stores-redis/llama_index/vector_stores/redis/base.py864 Query the index. Args: query (VectorStoreQuery): query object Returns:
HIGH…stores-google/llama_index/vector_stores/google/base.py168 Create an instance that points to an existing corpus. Args: corpus_id (str): ID of an exis
HIGH…stores-google/llama_index/vector_stores/google/base.py207 Create an instance that points to a newly created corpus. Examples: store = GoogleVectorSt
HIGH…db/llama_index/indices/managed/lancedb/query_engine.py94 Executes a query against the managed LanceDB index. Args: query_str (Optional[str]): The t
HIGH…db/llama_index/indices/managed/lancedb/query_engine.py130 Asynchronously executes a query against the managed LanceDB index. Args: query_str (Option
HIGH…ncedb/llama_index/indices/managed/lancedb/retriever.py75 Retrieves nodes relevant to the given query. Args: query_str (Optional[str]): The text que
HIGH…ncedb/llama_index/indices/managed/lancedb/retriever.py126 Asynchronously retrieves nodes relevant to the given query. Args: query_str (Optional[str]
HIGH…s_bedrock_agentcore/browser/browser_session_manager.py71 Get or create an async browser for the specified thread. Args: thread_id: Unique identifie
HIGH…s_bedrock_agentcore/browser/browser_session_manager.py97 Get or create a sync browser for the specified thread. Args: thread_id: Unique identifier
HIGH…s_bedrock_agentcore/browser/browser_session_manager.py123 Create a new async browser session for the specified thread. Args: thread_id: Unique ident
HIGH…s_bedrock_agentcore/browser/browser_session_manager.py185 Create a new sync browser session for the specified thread. Args: thread_id: Unique identi
HIGH…ndex-tools-typecast/llama_index/tools/typecast/base.py34 Get list of available voices from Typecast (V2 API). Args: model (Optional[str]): Filter b
HIGH…ndex-tools-typecast/llama_index/tools/typecast/base.py76 Get details of a specific voice from Typecast (V2 API). Args: voice_id (str): The voice ID
HIGH…ndex-tools-typecast/llama_index/tools/typecast/base.py120 Convert text to speech using Typecast API. Args: text (str): The text to convert to speech
HIGH…ma-index-tools-serpex/llama_index/tools/serpex/base.py74 Search the web using SERPEX API. This function queries the specified search engine and returns structu
HIGH…ndex-tools-desearch/llama_index/tools/desearch/base.py148 Perform a basic Twitter search using the Exa API. Args: query (str, optional): The Twitter
HIGH…ndex-tools-desearch/llama_index/tools/desearch/base.py176 Perform a basic web search using the Exa API. Args: query (str, optional): The search quer
HIGH…ifact-editor/llama_index/tools/artifact_editor/base.py96 Apply a JSON patch to the current Pydantic model instance. Args: patch: JsonPatch containi
HIGH…ma_index/tools/cassandra/cassandra_database_wrapper.py189 Validates a CQL query string for basic formatting and safety checks. Ensures that `cql` starts with th
HIGH…ndex-tools-box/llama_index/tools/box/ai_prompt/base.py19 Generates AI prompts based on a Box file. Args: box_client (BoxClient): A BoxClient instance for inter
HIGH…dex-tools-box/llama_index/tools/box/ai_extract/base.py17 Extracts AI generated content from a Box file. Args: box_client (BoxClient): A BoxClient instance for
HIGH…ex-embeddings-vllm/llama_index/embeddings/vllm/base.py117 Generates embeddings with retry mechanism. Args: inputs: List of texts or images to embed
118 more matches not shown…
Excessive Try-Catch Wrapping805 hits · 886 pts
SeverityFileLineSnippet
LOW…ng/putting_it_all_together/apps/fullstack_app_guide.md239 except Exception as e:
LOW…putting_it_all_together/apps/fullstack_with_delphic.md287 except Exception as e:
MEDIUM…putting_it_all_together/apps/fullstack_with_delphic.md278def connect(self):
LOW…ndex-utils-oracleai/llama_index/utils/oracleai/base.py169 except Exception as ex:
LOW…lama-index-utils-oracleai/tests/test_utils_oracleai.py43 except Exception as e:
MEDIUM…lama-index-utils-oracleai/tests/test_utils_oracleai.py44 # print("Error: ", e)
MEDIUM…lama-index-utils-oracleai/tests/test_utils_oracleai.py16def test_summary_test() -> None:
LOW…tores-qdrant/llama_index/vector_stores/qdrant/utils.py91 except Exception:
LOW…stores-qdrant/llama_index/vector_stores/qdrant/base.py1355 except Exception:
LOW…stores-qdrant/llama_index/vector_stores/qdrant/base.py1638 except Exception as e:
LOW…stores-qdrant/llama_index/vector_stores/qdrant/base.py1676 except Exception as e:
LOW…res/llama-index-vector-stores-qdrant/tests/conftest.py158 except Exception:
LOW…res/llama-index-vector-stores-qdrant/tests/conftest.py162 except Exception:
LOW…res/llama-index-vector-stores-qdrant/tests/conftest.py166 except Exception:
LOW…res/llama-index-vector-stores-qdrant/tests/conftest.py233 except Exception:
LOW…res/llama-index-vector-stores-qdrant/tests/conftest.py237 except Exception:
LOW…res/llama-index-vector-stores-qdrant/tests/conftest.py241 except Exception:
LOW…res/llama-index-vector-stores-qdrant/tests/conftest.py319 except Exception:
LOW…res/llama-index-vector-stores-qdrant/tests/conftest.py323 except Exception:
LOW…res/llama-index-vector-stores-qdrant/tests/conftest.py327 except Exception:
LOW…es-pinecone/llama_index/vector_stores/pinecone/base.py405 except Exception:
LOW…es-pinecone/llama_index/vector_stores/pinecone/base.py526 except Exception:
LOW…es-awsdocdb/llama_index/vector_stores/awsdocdb/base.py273 except Exception:
LOW…llama-index-vector-stores-awsdocdb/tests/test_docdb.py72except Exception:
LOW…es-supabase/llama_index/vector_stores/supabase/base.py202 except Exception:
LOW…ores-lancedb/llama_index/vector_stores/lancedb/base.py296 except Exception as e:
LOW…ores-lancedb/llama_index/vector_stores/lancedb/base.py468 except Exception:
LOW…ores-lancedb/llama_index/vector_stores/lancedb/base.py571 except Exception:
LOW…earch/llama_index/vector_stores/elasticsearch/utils.py80 except Exception:
LOW…es-postgres/llama_index/vector_stores/postgres/base.py598 except Exception as e:
LOW…es-postgres/llama_index/vector_stores/postgres/base.py604 except Exception as e:
LOW…es-postgres/llama_index/vector_stores/postgres/base.py610 except Exception as e:
LOW…es-postgres/llama_index/vector_stores/postgres/base.py617 except Exception as e:
LOW…es-postgres/llama_index/vector_stores/postgres/base.py1395 except Exception:
LOW…es-postgres/llama_index/vector_stores/postgres/base.py1623 except Exception:
LOW…es-postgres/llama_index/vector_stores/postgres/base.py1678 except Exception:
LOW…ores-vectorx/llama_index/vector_stores/vectorx/base.py165 except Exception as e:
LOW…ores-vectorx/llama_index/vector_stores/vectorx/base.py276 except Exception as e:
LOW…ores-vectorx/llama_index/vector_stores/vectorx/base.py296 except Exception:
LOW…ores-vectorx/llama_index/vector_stores/vectorx/base.py355 except Exception as e:
LOW…tor-stores-vectorx/tests/test_vector_stores_vectorx.py82 except Exception as e:
MEDIUM…tor-stores-vectorx/tests/test_vector_stores_vectorx.py84 print(f"Error deleting test index {index_name}: {e}")
LOW…tor-stores-vectorx/tests/test_vector_stores_vectorx.py96 except Exception as e:
MEDIUM…tor-stores-vectorx/tests/test_vector_stores_vectorx.py97 print(f"Error cleaning up test index {index_name}: {e}")
LOW…tor-stores-vectorx/tests/test_vector_stores_vectorx.py98 except Exception as e:
MEDIUM…tor-stores-vectorx/tests/test_vector_stores_vectorx.py99 print(f"Error listing indexes for cleanup: {e}")
MEDIUM…tor-stores-vectorx/tests/test_vector_stores_vectorx.py86def tearDown(self):
LOW…x/vector_stores/vertexaivectorsearch/_v2_operations.py449 except Exception as e:
LOW…x/vector_stores/vertexaivectorsearch/_v2_operations.py959 except Exception as e:
LOW…x/vector_stores/vertexaivectorsearch/_v2_operations.py46 except Exception as e:
LOW…x/vector_stores/vertexaivectorsearch/_v2_operations.py374 except Exception as e:
LOW…x/vector_stores/vertexaivectorsearch/_v2_operations.py698 except Exception as e:
LOW…x/vector_stores/vertexaivectorsearch/_v2_operations.py756 except Exception as e:
LOW…x/vector_stores/vertexaivectorsearch/_v2_operations.py859 except Exception as e:
LOW…x/vector_stores/vertexaivectorsearch/_v2_operations.py1095 except Exception as e:
LOW…x/vector_stores/vertexaivectorsearch/_v2_operations.py1170 except Exception as e:
LOW…lama_index/vector_stores/vertexaivectorsearch/utils.py137 except Exception as e:
LOW…lama_index/vector_stores/vertexaivectorsearch/utils.py449 except Exception as e:
LOW…ores-lindorm/llama_index/vector_stores/lindorm/base.py737 except Exception:
LOW…ores-tablestore/tests/test_vector_stores_tablestore.py232 except Exception as e:
745 more matches not shown…
Magic Placeholder Names175 hits · 764 pts
SeverityFileLineSnippet
HIGH…ent/docs/framework/module_guides/mcp/llamacloud_mcp.md61llamacloud-mcp --index "index-name:Description" --extract-agent "name:description" --org-id YOUR_ORG_ID --project-id YOU
HIGH…ations/retrievers/llama-index-retrievers-you/README.md17retriever = YouRetriever(api_key="your-api-key")
HIGH…grations/tools/llama-index-tools-scrapegraph/README.md44 api_key="your-api-key",
HIGH…grations/tools/llama-index-tools-scrapegraph/README.md55 url="https://example.com", api_key="your-api-key"
HIGH…grations/tools/llama-index-tools-scrapegraph/README.md69 text=text, api_key="your-api-key"
HIGH…s-dappier/tests/test_tools_dappier_real_time_search.py20 tool_instance = DappierRealTimeSearchToolSpec(api_key="your-api-key")
HIGH…dappier/tests/test_tools_dappier_ai_recommendations.py22 tool = DappierAIRecommendationsToolSpec(api_key="your-api-key")
HIGH…integrations/tools/llama-index-tools-shopify/README.md41 "your-store.myshopify.com", "2023-04", "your-api-key"
HIGH…/llama-index-tools-valyu/examples/retriever_example.py18 api_key=os.environ.get("VALYU_API_KEY", "your-api-key-here"),
HIGH…ntegrations/tools/llama-index-tools-airweave/README.md252 api_key="your-api-key",
HIGH…-integrations/tools/llama-index-tools-serpex/README.md33 api_key="your_api_key",
HIGH…-integrations/tools/llama-index-tools-serpex/README.md57export SERPEX_API_KEY=your_api_key
HIGH…egrations/tools/llama-index-tools-serpex/test_local.py15 print(' export SERPEX_API_KEY="your_api_key"')
HIGH…ma-index-tools-serpex/llama_index/tools/serpex/base.py31 >>> tool = SerpexToolSpec(api_key="your_api_key")
HIGH…tools/llama-index-tools-parallel-web-systems/README.md28 api_key="your-api-key-here",
HIGH…tools/llama-index-tools-parallel-web-systems/README.md65parallel_tool = ParallelWebSystemsToolSpec(api_key="your-api-key")
HIGH…tools/llama-index-tools-parallel-web-systems/README.md106parallel_tool = ParallelWebSystemsToolSpec(api_key="your-api-key")
HIGH…egrations/tools/llama-index-tools-brightdata/README.md15Sign up at [Bright Data](https://brightdata.com/?utm_source=tech-partner&utm_medium=link&utm_campaign=llamaindex&hs_sign
HIGH…egrations/tools/llama-index-tools-brightdata/README.md26brightdata_tool = BrightDataToolSpec(api_key="your-api-key", zone="unlocker")
HIGH…mbeddings-llm-rails/tests/test_embeddings_llm_rails.py14 return "your_api_key"
HIGH…s/embeddings/llama-index-embeddings-voyageai/README.md22export VOYAGE_API_KEY="your-api-key-here"
HIGH…s/embeddings/llama-index-embeddings-voyageai/README.md35 voyage_api_key="your-api-key", # Optional if VOYAGE_API_KEY is set
HIGH…s/embeddings/llama-index-embeddings-voyageai/README.md73 voyage_api_key="your-api-key",
HIGH…s/embeddings/llama-index-embeddings-voyageai/README.md213 model_name="voyage-3.5", voyage_api_key="your-api-key"
HIGH…ons/embeddings/llama-index-embeddings-nebius/README.md20NEBIUS_API_KEY=your_api_key
HIGH…ons/embeddings/llama-index-embeddings-nebius/README.md36 api_key="your_api_key", model_name="BAAI/bge-en-icl"
HIGH…ference/llama_index/embeddings/azure_inference/base.py36 credential="your-api-key",
HIGH…ns/embeddings/llama-index-embeddings-baseten/README.md25 api_key="YOUR_API_KEY",
HIGH…eddings-baseten/llama_index/embeddings/baseten/base.py37 api_key="YOUR_API_KEY",
HIGH…ns/embeddings/llama-index-embeddings-isaacus/README.md31export ISAACUS_API_KEY="your-api-key-here"
HIGH…/embeddings/llama-index-embeddings-fireworks/README.md20 api_key="your-api-key", # or set FIREWORKS_API_KEY env var
HIGH…/embeddings/llama-index-embeddings-yandexgpt/README.md26 api_key="your-api-key",
HIGH…ngs-yandexgpt/llama_index/embeddings/yandexgpt/base.py42 api_key="your-api-key",
HIGH…ddings/llama-index-embeddings-autoembeddings/README.md35os.environ["OPENAI_API_KEY"] = "YOUR-API-KEY"
HIGH…or/llama-index-postprocessor-voyageai-rerank/README.md20export VOYAGE_API_KEY="your-api-key-here"
HIGH…or/llama-index-postprocessor-voyageai-rerank/README.md42 api_key="your-api-key", # Optional if VOYAGE_API_KEY is set
HIGH…aph_stores/llama-index-graph-stores-memgraph/README.md33] = "<YOUR_API_KEY>" # Replace with your OpenAI API key
HIGH…aph_stores/llama-index-graph-stores-memgraph/README.md33] = "<YOUR_API_KEY>" # Replace with your OpenAI API key
HIGH…aph_stores/llama-index-graph-stores-memgraph/README.md99] = "<YOUR_API_KEY>" # Replace with your OpenAI API key
HIGH…aph_stores/llama-index-graph-stores-memgraph/README.md99] = "<YOUR_API_KEY>" # Replace with your OpenAI API key
HIGH…ions/graph_rag/llama-index-graph-rag-cognee/example.py27 print(" export OPENAI_API_KEY='your-api-key-here'")
HIGH…-index-graph-rag-cognee/tests/test_graph_rag_cognee.py35 llm_api_key=os.getenv("OPENAI_API_KEY", "your-api-key"),
HIGH…-index-graph-rag-cognee/tests/test_graph_rag_cognee.py91 llm_api_key=os.getenv("OPENAI_API_KEY", "your-api-key"),
HIGH…-index-graph-rag-cognee/tests/test_graph_rag_cognee.py122 llm_api_key=os.getenv("OPENAI_API_KEY", "your-api-key"),
HIGH…-index-graph-rag-cognee/tests/test_graph_rag_cognee.py143 llm_api_key=os.getenv("OPENAI_API_KEY", "your-api-key"),
HIGH…-index-graph-rag-cognee/tests/test_graph_rag_cognee.py177 llm_api_key=os.getenv("OPENAI_API_KEY", "your-api-key"),
HIGH…-index-graph-rag-cognee/tests/test_graph_rag_cognee.py204 llm_api_key=os.getenv("OPENAI_API_KEY", "your-api-key"),
HIGH…-index-graph-rag-cognee/tests/test_graph_rag_cognee.py258 llm_api_key=os.getenv("OPENAI_API_KEY", "your-api-key"),
HIGH…ag/llama-index-graph-rag-cognee/tests/test_add_data.py25 llm_api_key=os.getenv("OPENAI_API_KEY", "your-api-key"),
HIGH…a-index-graph-rag-cognee/tests/test_visualize_graph.py21 llm_api_key=os.getenv("OPENAI_API_KEY", "your-api-key"),
HIGH…tions/readers/llama-index-readers-preprocess/README.md43 api_key="your-api-key", filepath="valid/path/to/file"
HIGH…tions/readers/llama-index-readers-preprocess/README.md61 api_key="your-api-key", filepath="valid/path/to/file"
HIGH…tions/readers/llama-index-readers-preprocess/README.md77 api_key="your-api-key", filepath="valid/path/to/file"
HIGH…tions/readers/llama-index-readers-preprocess/README.md86loader = PreprocessReader(api_key="your-api-key", process_id="your-process-id")
HIGH…aders-google/llama_index/readers/google/maps/README.md18export GOOGLE_MAPS_API_KEY="YOUR_API_KEY"
HIGH…aders-google/llama_index/readers/google/maps/README.md26os.environ["GOOGLE_MAPS_API_KEY"] = "YOUR_API_KEY"
HIGH…aders-web/llama_index/readers/web/spider_web/README.md20 api_key="YOUR_API_KEY", # Get one at https://spider.cloud
HIGH…aders-web/llama_index/readers/web/spider_web/README.md34 api_key="YOUR_API_KEY",
HIGH…ions/readers/llama-index-readers-document360/README.md16reader = Document360Reader(api_key="your_api_key")
HIGH…ions/readers/llama-index-readers-document360/README.md94reader = Document360Reader(api_key="your_api_key")
115 more matches not shown…
Deep Nesting598 hits · 584 pts
SeverityFileLineSnippet
LOW…umentation/src/llama_index_instrumentation/__init__.py57
LOW…rc/llama_index_instrumentation/span_handlers/simple.py95
LOWdocs/scripts/prepare_for_build.py118
LOW…ndex-utils-oracleai/llama_index/utils/oracleai/base.py46
LOW…stores-qdrant/llama_index/vector_stores/qdrant/base.py321
LOW…stores-qdrant/llama_index/vector_stores/qdrant/base.py563
LOW…stores-qdrant/llama_index/vector_stores/qdrant/base.py1023
LOW…stores-qdrant/llama_index/vector_stores/qdrant/base.py1172
LOW…stores-qdrant/llama_index/vector_stores/qdrant/base.py1379
LOW…stores-qdrant/llama_index/vector_stores/qdrant/base.py1603
LOW…stores-qdrant/llama_index/vector_stores/qdrant/base.py1643
LOW…es-pinecone/llama_index/vector_stores/pinecone/base.py54
LOW…es-pinecone/llama_index/vector_stores/pinecone/base.py76
LOW…ores-upstash/llama_index/vector_stores/upstash/base.py35
LOW…ores-lancedb/llama_index/vector_stores/lancedb/base.py47
LOW…ores-lancedb/llama_index/vector_stores/lancedb/base.py174
LOW…es-postgres/llama_index/vector_stores/postgres/base.py591
LOW…es-postgres/llama_index/vector_stores/postgres/base.py657
LOW…es-postgres/llama_index/vector_stores/postgres/base.py690
LOW…es-postgres/llama_index/vector_stores/postgres/base.py1414
LOW…es-postgres/llama_index/vector_stores/postgres/base.py1442
LOW…ores-vectorx/llama_index/vector_stores/vectorx/base.py284
LOW…tor-stores-vectorx/tests/test_vector_stores_vectorx.py86
LOW…x/vector_stores/vertexaivectorsearch/_v2_operations.py167
LOW…x/vector_stores/vertexaivectorsearch/_v2_operations.py459
LOW…x/vector_stores/vertexaivectorsearch/_v2_operations.py522
LOW…x/vector_stores/vertexaivectorsearch/_v2_operations.py969
LOW…lama_index/vector_stores/vertexaivectorsearch/utils.py208
LOW…lama_index/vector_stores/vertexaivectorsearch/utils.py375
LOW…-cassandra/llama_index/vector_stores/cassandra/base.py221
LOW…ablestore/llama_index/vector_stores/tablestore/base.py629
LOW…r-stores-kdbai/llama_index/vector_stores/kdbai/base.py102
LOW…pertureDB/llama_index/vector_stores/ApertureDB/base.py339
LOW…pertureDB/llama_index/vector_stores/ApertureDB/base.py344
LOW…ma_index/vector_stores/alibabacloud_opensearch/base.py237
LOW…ordb/llama_index/vector_stores/tencentvectordb/base.py362
LOW…ordb/llama_index/vector_stores/tencentvectordb/base.py434
LOW…l/llama_index/vector_stores/alibabacloud_mysql/base.py325
LOW…l/llama_index/vector_stores/alibabacloud_mysql/base.py784
LOW…es-alibabacloud-mysql/tests/test_alibabacloud_mysql.py658
LOW…es-alibabacloud-mysql/tests/test_alibabacloud_mysql.py735
LOW…es-alibabacloud-mysql/tests/test_alibabacloud_mysql.py672
LOW…es-alibabacloud-mysql/tests/test_alibabacloud_mysql.py749
LOW…tores-milvus/llama_index/vector_stores/milvus/utils.py126
LOW…stores-milvus/llama_index/vector_stores/milvus/base.py1374
LOW…-vector-stores-s3/llama_index/vector_stores/s3/base.py512
LOW…-vector-stores-s3/llama_index/vector_stores/s3/base.py550
LOW…es-oracledb/llama_index/vector_stores/oracledb/base.py256
LOW…es-oracledb/llama_index/vector_stores/oracledb/base.py525
LOW…es-oracledb/llama_index/vector_stores/oracledb/base.py675
LOW…4jvector/llama_index/vector_stores/neo4jvector/base.py111
LOW…es-deeplake/llama_index/vector_stores/deeplake/base.py438
LOW…es-deeplake/llama_index/vector_stores/deeplake/base.py453
LOW…es-deeplake/llama_index/vector_stores/deeplake/base.py272
LOW…-couchbase/llama_index/vector_stores/couchbase/base.py74
LOW…-couchbase/llama_index/vector_stores/couchbase/base.py148
LOW…-couchbase/llama_index/vector_stores/couchbase/base.py165
LOW…es-weaviate/llama_index/vector_stores/weaviate/base.py87
LOW…es-weaviate/llama_index/vector_stores/weaviate/base.py134
LOW…es-weaviate/llama_index/vector_stores/weaviate/base.py169
538 more matches not shown…
Self-Referential Comments195 hits · 554 pts
SeverityFileLineSnippet
MEDIUM…ector-stores-qdrant/tests/test_vector_stores_qdrant.py141 # Create a mock Qdrant client
MEDIUM…search/llama_index/vector_stores/elasticsearch/base.py162 es_api_key = "<api-key>" # Create an API key within Kibana (Security -> API Keys)
MEDIUM…ores-vectorx/llama_index/vector_stores/vectorx/base.py171 # Create a new index if it doesn't exist
MEDIUM…dex-vector-stores-lindorm/tests/test_lindorm_client.py40 # Create a client and vector store instance
MEDIUM…ordb/llama_index/vector_stores/tencentvectordb/base.py182 # Create an instance of TencentVectorDB
MEDIUM…es-alibabacloud-mysql/tests/test_alibabacloud_mysql.py306 # Create a test node
MEDIUM…stores-milvus/llama_index/vector_stores/milvus/base.py374 # Create the collection & index if it does not exist
MEDIUM…es-oracledb/llama_index/vector_stores/oracledb/base.py67# Define a type variable that can be any kind of function
MEDIUM…es-deeplake/llama_index/vector_stores/deeplake/base.py339 # Create an instance of DeepLakeVectorStore
MEDIUM…s-couchbase/tests/test_couchbase_query_vector_store.py400 # Create a KNN vector store
MEDIUM…s-couchbase/tests/test_couchbase_query_vector_store.py628 # Create a test node with custom field mapping
MEDIUM…s-couchbase/tests/test_couchbase_query_vector_store.py721 # Create a larger batch of documents
MEDIUM…ctor/llama_index/vector_stores/timescalevector/base.py43 # Create a TimescaleVectorStore instance
MEDIUM…search/llama_index/vector_stores/azureaisearch/base.py115 # Creating an Azure AI Search Vector Store
MEDIUM…ector-stores-azureaisearch/tests/test_azureaisearch.py228 # Create a sample query
MEDIUM…ector-stores-azureaisearch/tests/test_azureaisearch.py299 # Create a sample query
MEDIUM…ector-stores-azureaisearch/tests/test_azureaisearch.py439 # Create a mock search client that will be returned by get_search_client
MEDIUM…ector-stores-azureaisearch/tests/test_azureaisearch.py473 # Create a mock search client that will be returned by get_search_client
MEDIUM…ores-mongodb/llama_index/vector_stores/mongodb/base.py102 # Create an instance of MongoDBAtlasVectorSearch
MEDIUM…ores-mongodb/llama_index/vector_stores/mongodb/base.py110 # Create a vector search index programmatically
MEDIUM…ores-mongodb/llama_index/vector_stores/mongodb/base.py113 # Create a text search index programmatically
MEDIUM…dex-vector-stores-mongodb/tests/test_index_commands.py77 # Create a Vector Search Index on index_name
MEDIUM…dex-vector-stores-mongodb/tests/test_index_commands.py170 # Create a Vector Search Index on index_name
MEDIUM…es-astra-db/llama_index/vector_stores/astra_db/base.py74 # Create the Astra DB Vector Store object
MEDIUM…es-astra-db/llama_index/vector_stores/astra_db/base.py410 # Create a new node object from the node metadata
MEDIUM…es-astra-db/llama_index/vector_stores/astra_db/base.py592 # Create a new node object from the node metadata
MEDIUM…stores-chroma/llama_index/vector_stores/chroma/base.py143 # Create a Chroma client and collection
MEDIUM…stores-chroma/llama_index/vector_stores/chroma/base.py614 # Create a mapping from valid embedding indices to original prefetch indices
MEDIUM…ores-lantern/llama_index/vector_stores/lantern/base.py145 # Create an instance of LanternVectorStore
MEDIUM…llama-index-vector-stores-nile/examples/multitenant.py21# Create a NileVectorStore instance
MEDIUM…llama-index-vector-stores-nile/examples/multitenant.py58# Create a vector index (optional, the default index is flat also known as no index)
MEDIUM…es-moorcheh/llama_index/vector_stores/moorcheh/base.py1# Importing required libraries and modules
MEDIUM…es-wordlift/llama_index/vector_stores/wordlift/base.py203 # Create the IDs.
MEDIUM…ngo/llama_index/vector_stores/azurecosmosmongo/base.py48 # Create an instance of AzureCosmosDBMongoDBVectorSearch
MEDIUM…-typesense/llama_index/vector_stores/typesense/base.py69 # Create an instance of TypesenseVectorStore
MEDIUM…-typesense/llama_index/vector_stores/typesense/base.py184 # Create the collection if it doesn't already exist
MEDIUM…ector-stores-db2/llama_index/vector_stores/db2/base.py60# Define a type variable that can be any kind of function
MEDIUM…ndex-vector-stores-db2/tests/test_vector_stores_db2.py225# Define a list of documents (These dummy examples are 4 random documents )
MEDIUM…ndex-vector-stores-db2/tests/test_vector_stores_db2.py287 # Create a TextNode instance
MEDIUM…carray/llama_index/vector_stores/docarray/in_memory.py19 # Create an instance of DocArrayInMemoryVectorStore
MEDIUM…sql/llama_index/vector_stores/azurecosmosnosql/base.py136 # Create the collection if it already doesn't exist
MEDIUM…tor-stores-tair/llama_index/vector_stores/tair/base.py74 # Create a TairVectorStore
MEDIUM…riever/llama_index/retrievers/duckdb_retriever/base.py71 # Create an FTS index on the 'text' column if it doesn't already exist
MEDIUM…-index-ingestion-ray/llama_index/ingestion/ray/base.py121 "batch_size": 10, # Define the batch size
MEDIUM…-index-ingestion-ray/llama_index/ingestion/ray/base.py132 # Create the Ray ingestion pipeline
MEDIUM…lama_index/tools/aws_bedrock_agentcore/browser/base.py90 # Create a new browser client for this thread
MEDIUM…x/tools/aws_bedrock_agentcore/code_interpreter/base.py120 # Create a new code interpreter for this thread
MEDIUM…scrapegraph/examples/scrapegraph-search-llama-index.py86 # Create a list of tools from the tool spec
MEDIUM…scrapegraph/examples/scrapegraph-search-llama-index.py92 # Create an agent with the tools
MEDIUM…-tools-elevenlabs/llama_index/tools/elevenlabs/base.py36 # Create the client
MEDIUM…-tools-elevenlabs/llama_index/tools/elevenlabs/base.py93 # Create the VoiceSettings
MEDIUM…s/tools/llama-index-tools-signnow/examples/from_env.py24 # Create an agent and ask for templates list
MEDIUM…ndex-tools-typecast/llama_index/tools/typecast/base.py56 # Create the client
MEDIUM…ndex-tools-typecast/llama_index/tools/typecast/base.py96 # Create the client
MEDIUM…ls/llama-index-tools-mcp/llama_index/tools/mcp/base.py138 # Create a Pydantic model based on the tool inputSchema
MEDIUM…tegrations/tools/llama-index-tools-mcp/tests/server.py34# Create the MCP server
MEDIUM…tegrations/tools/llama-index-tools-mcp/tests/server.py84 # Create a random color image
MEDIUM…ex-tools-artifact-editor/tests/test_artifact_editor.py88 # Create an artifact and test retrieval
MEDIUM…-index-tools-mcp-discovery/tests/test_mcp_discovery.py22# Define a real class for BaseToolSpec so inheritance works
MEDIUM…enai/llama_index/tools/openai/image_generation/base.py69 # Create an image from the decoded bytes and save it
135 more matches not shown…
Decorative Section Separators104 hits · 402 pts
SeverityFileLineSnippet
MEDIUMllama-index-instrumentation/tests/test_dispatcher.py623 # ┌───────┴───────┐
MEDIUM…ndex-utils-oracleai/llama_index/utils/oracleai/base.py1# -----------------------------------------------------------------------------
MEDIUM…ndex-utils-oracleai/llama_index/utils/oracleai/base.py6# -----------------------------------------------------------------------------
MEDIUM…ndex-utils-oracleai/llama_index/utils/oracleai/base.py8# -----------------------------------------------------------------------------
MEDIUM…ector-stores-qdrant/tests/test_vector_stores_qdrant.py938# ---------------------------------------------------------------------------
MEDIUM…ector-stores-qdrant/tests/test_vector_stores_qdrant.py940# ---------------------------------------------------------------------------
MEDIUM…x/vector_stores/vertexaivectorsearch/_v2_operations.py454# =============================================================================
MEDIUM…x/vector_stores/vertexaivectorsearch/_v2_operations.py456# =============================================================================
MEDIUM…x/vector_stores/vertexaivectorsearch/_v2_operations.py964# =============================================================================
MEDIUM…x/vector_stores/vertexaivectorsearch/_v2_operations.py966# =============================================================================
MEDIUM…x/vector_stores/vertexaivectorsearch/_v2_operations.py87# =============================================================================
MEDIUM…x/vector_stores/vertexaivectorsearch/_v2_operations.py89# =============================================================================
MEDIUM…x/vector_stores/vertexaivectorsearch/_v2_operations.py637# =============================================================================
MEDIUM…x/vector_stores/vertexaivectorsearch/_v2_operations.py639# =============================================================================
MEDIUM…earch/tests/test_vector_stores_vertexaivectorsearch.py442# =============================================================================
MEDIUM…earch/tests/test_vector_stores_vertexaivectorsearch.py444# =============================================================================
MEDIUM…earch/tests/test_vector_stores_vertexaivectorsearch.py772# =============================================================================
MEDIUM…earch/tests/test_vector_stores_vertexaivectorsearch.py774# =============================================================================
MEDIUM…tores-solr/llama_index/vector_stores/solr/constants.py17# =============================================================================
MEDIUM…tores-solr/llama_index/vector_stores/solr/constants.py19# =============================================================================
MEDIUM…tores-solr/llama_index/vector_stores/solr/constants.py24# =============================================================================
MEDIUM…tores-solr/llama_index/vector_stores/solr/constants.py26# =============================================================================
MEDIUM…tores-solr/tests/integration/test_solr_vector_store.py40# ---------------------------------------------------------------------------
MEDIUM…tores-solr/tests/integration/test_solr_vector_store.py42# ---------------------------------------------------------------------------
MEDIUM…tores-solr/tests/integration/test_solr_vector_store.py109# ---------------------------------------------------------------------------
MEDIUM…tores-solr/tests/integration/test_solr_vector_store.py111# ---------------------------------------------------------------------------
MEDIUM…tores-solr/tests/integration/test_solr_vector_store.py166# ---------------------------------------------------------------------------
MEDIUM…tores-solr/tests/integration/test_solr_vector_store.py168# ---------------------------------------------------------------------------
MEDIUM…tores-solr/tests/integration/test_solr_vector_store.py230# ---------------------------------------------------------------------------
MEDIUM…tores-solr/tests/integration/test_solr_vector_store.py232# ---------------------------------------------------------------------------
MEDIUM…sql/llama_index/vector_stores/volcengine_mysql/base.py169 # ------------------------------------------------------------------
MEDIUM…sql/llama_index/vector_stores/volcengine_mysql/base.py171 # ------------------------------------------------------------------
MEDIUM…sql/llama_index/vector_stores/volcengine_mysql/base.py207 # ------------------------------------------------------------------
MEDIUM…sql/llama_index/vector_stores/volcengine_mysql/base.py209 # ------------------------------------------------------------------
MEDIUM…sql/llama_index/vector_stores/volcengine_mysql/base.py281 # ------------------------------------------------------------------
MEDIUM…sql/llama_index/vector_stores/volcengine_mysql/base.py283 # ------------------------------------------------------------------
MEDIUM…sql/llama_index/vector_stores/volcengine_mysql/base.py470 # ------------------------------------------------------------------
MEDIUM…sql/llama_index/vector_stores/volcengine_mysql/base.py472 # ------------------------------------------------------------------
MEDIUM…sql/llama_index/vector_stores/volcengine_mysql/base.py625 # ------------------------------------------------------------------
MEDIUM…sql/llama_index/vector_stores/volcengine_mysql/base.py627 # ------------------------------------------------------------------
MEDIUM…ntegrations/tools/llama-index-tools-metaphor/README.md3# ================================================================================
MEDIUM…ntegrations/tools/llama-index-tools-metaphor/README.md7# ================================================================================
MEDIUM…dings-oracleai/llama_index/embeddings/oracleai/base.py1# -----------------------------------------------------------------------------
MEDIUM…dings-oracleai/llama_index/embeddings/oracleai/base.py6# -----------------------------------------------------------------------------
MEDIUM…dings-oracleai/llama_index/embeddings/oracleai/base.py8# -----------------------------------------------------------------------------
MEDIUM…lity/llama-index-observability-otel/tests/test_otel.py223## ---------------------------------------------------------------------------
MEDIUM…lity/llama-index-observability-otel/tests/test_otel.py225# ---------------------------------------------------------------------------
MEDIUM…am/llama-index-program-evaporate/tests/test_sandbox.py11# ---------------------------------------------------------------------------
MEDIUM…am/llama-index-program-evaporate/tests/test_sandbox.py13# ---------------------------------------------------------------------------
MEDIUM…am/llama-index-program-evaporate/tests/test_sandbox.py65# ---------------------------------------------------------------------------
MEDIUM…am/llama-index-program-evaporate/tests/test_sandbox.py67# ---------------------------------------------------------------------------
MEDIUM…ders-web/llama_index/readers/web/firecrawl_web/base.py39 # --------------------
MEDIUM…ders-web/llama_index/readers/web/firecrawl_web/base.py41 # --------------------
MEDIUM…ders-web/llama_index/readers/web/firecrawl_web/base.py62 # --------------------
MEDIUM…ders-web/llama_index/readers/web/firecrawl_web/base.py64 # --------------------
MEDIUM…ders-web/llama_index/readers/web/firecrawl_web/base.py111 # --------------------
MEDIUM…ders-web/llama_index/readers/web/firecrawl_web/base.py113 # --------------------
MEDIUM…ders-web/llama_index/readers/web/firecrawl_web/base.py209 # --------------------
MEDIUM…ders-web/llama_index/readers/web/firecrawl_web/base.py211 # --------------------
MEDIUM…ders-web/llama_index/readers/web/firecrawl_web/base.py215 # --------------------
44 more matches not shown…
Hallucination Indicators35 hits · 350 pts
SeverityFileLineSnippet
CRITICAL…dex-utils/llama-index-utils-qianfan/tests/test_apis.py66 mock_client.return_value.__enter__.return_value.send.assert_called_once()
CRITICAL…dex-utils/llama-index-utils-qianfan/tests/test_apis.py91 mock_client.return_value.__aenter__.return_value.send.assert_called_once()
CRITICAL…x-utils/llama-index-utils-qianfan/tests/test_client.py24 mock_client.return_value.__enter__.return_value.send.assert_called_once()
CRITICAL…x-utils/llama-index-utils-qianfan/tests/test_client.py44 mock_client.return_value.__aenter__.return_value.send.assert_called_once()
CRITICAL…x-utils/llama-index-utils-qianfan/tests/test_client.py62 mock_client.return_value.__enter__.return_value.send.assert_called_once()
CRITICAL…x-utils/llama-index-utils-qianfan/tests/test_client.py87 mock_client.return_value.__aenter__.return_value.send.assert_called_once()
CRITICAL…ector-stores-azureaisearch/tests/test_azureaisearch.py90 search_client._client._config.user_agent_policy.add_user_agent.assert_called_with(
CRITICAL…ector-stores-azureaisearch/tests/test_azureaisearch.py103 index_client._client._config.user_agent_policy.add_user_agent.assert_called_with(
CRITICAL…-index-vector-stores-firestore/tests/test_firestore.py193 vector_store.client.collection.return_value.find_nearest.assert_called_with(
CRITICAL…ference/llama_index/embeddings/azure_inference/base.py20from azure.core.exceptions import HttpResponseError
CRITICAL…vstore-azure/llama_index/storage/kvstore/azure/base.py336 from azure.core.exceptions import ResourceNotFoundError
CRITICAL…vstore-azure/llama_index/storage/kvstore/azure/base.py361 from azure.core.exceptions import ResourceNotFoundError
CRITICAL…vstore-azure/llama_index/storage/kvstore/azure/base.py469 from azure.core.exceptions import ResourceNotFoundError
CRITICAL…vstore-azure/llama_index/storage/kvstore/azure/base.py495 from azure.core.exceptions import ResourceNotFoundError
CRITICAL…ore-azure/llama_index/storage/chat_store/azure/base.py5from azure.core.exceptions import ResourceNotFoundError
CRITICAL…/llama-index-llms-gigachat/tests/test_llms_gigachat.py42 mock_gigachat.return_value.__enter__.return_value.chat.assert_called_once()
CRITICAL…/llama-index-llms-gigachat/tests/test_llms_gigachat.py59 mock_gigachat.return_value.__enter__.return_value.chat.assert_called_once()
CRITICAL…/llama-index-llms-gigachat/tests/test_llms_gigachat.py79 mock_gigachat.return_value.__aenter__.return_value.achat.assert_called_once()
CRITICAL…/llama-index-llms-gigachat/tests/test_llms_gigachat.py99 mock_gigachat.return_value.__aenter__.return_value.achat.assert_called_once()
CRITICAL…ons/llms/llama-index-llms-ai21/tests/test_llms_ai21.py136 llm._client.chat.completions.create.assert_called_once_with(
CRITICAL…ons/llms/llama-index-llms-ai21/tests/test_llms_ai21.py208 llm._client.chat.completions.create.assert_called_once_with(
CRITICAL…ons/llms/llama-index-llms-ai21/tests/test_llms_ai21.py231 llm._client.chat.completions.create.assert_called_once_with(
CRITICAL…ons/llms/llama-index-llms-ai21/tests/test_llms_ai21.py285 llm._client.chat.completions.create.assert_called_once_with(
CRITICAL…ons/llms/llama-index-llms-ai21/tests/test_llms_ai21.py313 llm._async_client.chat.completions.create.assert_called_once_with(
CRITICAL…ons/llms/llama-index-llms-ai21/tests/test_llms_ai21.py341 llm._async_client.chat.completions.create.assert_called_once_with(
CRITICAL…ons/llms/llama-index-llms-ai21/tests/test_llms_ai21.py381 llm._async_client.chat.completions.create.assert_called_once_with(
CRITICAL…ons/llms/llama-index-llms-ai21/tests/test_llms_ai21.py410 llm._async_client.chat.completions.create.assert_called_once_with(
CRITICAL…ms-azure-openai/llama_index/llms/azure_openai/utils.py4from azure.core.exceptions import ClientAuthenticationError
CRITICAL…ure-inference/llama_index/llms/azure_inference/base.py62from azure.core.exceptions import HttpResponseError
CRITICAL…ms/llama-index-llms-qianfan/tests/test_llms_qianfan.py334 mock_client.return_value.__enter__.return_value.send.assert_called_once()
CRITICAL…ms/llama-index-llms-qianfan/tests/test_llms_qianfan.py356 mock_client.return_value.__aenter__.return_value.send.assert_called_once()
CRITICAL…ms/llama-index-llms-qianfan/tests/test_llms_qianfan.py375 mock_client.return_value.__enter__.return_value.send.assert_called_once()
CRITICAL…ms/llama-index-llms-qianfan/tests/test_llms_qianfan.py399 mock_client.return_value.__aenter__.return_value.send.assert_called_once()
CRITICAL…ms/llama-index-llms-qianfan/tests/test_llms_qianfan.py430 mock_client.return_value.__enter__.return_value.send.assert_called_once()
CRITICAL…ms/llama-index-llms-qianfan/tests/test_llms_qianfan.py468 mock_client.return_value.__aenter__.return_value.send.assert_called_once()
Fake / Example Data157 hits · 184 pts
SeverityFileLineSnippet
LOW…ntent/docs/framework/understanding/extraction/index.md23 name: str = "Jane Doe"
LOW…ntent/docs/framework/understanding/extraction/index.md64 "default": "Jane Doe",
LOW…mework/optimizing/basic_strategies/basic_strategies.md132 Document(text="text", metadata={"author": "John Doe"}),
LOW…mework/optimizing/basic_strategies/basic_strategies.md136 filters=[ExactMatchFilter(key="author", value="John Doe")]
LOW…llama-index-vector-stores-awsdocdb/tests/test_docdb.py38 text="lorem ipsum",
LOW…llama-index-vector-stores-awsdocdb/tests/test_docdb.py48 text="lorem ipsum",
LOW…llama-index-vector-stores-awsdocdb/tests/test_docdb.py58 text="lorem ipsum",
LOW…llama-index-vector-stores-awsdocdb/tests/test_docdb.py135 assert res.nodes[0].get_content() == "lorem ipsum"
LOW…llama-index-vector-stores-awsdocdb/tests/test_docdb.py151 assert res.nodes[0].get_content() == "lorem ipsum"
LOW…llama-index-vector-stores-awsdocdb/tests/test_docdb.py167 assert res.nodes[0].get_content() == "lorem ipsum"
LOW…/llama-index-vector-stores-duckdb/tests/test_duckdb.py26 text="lorem ipsum",
LOW…/llama-index-vector-stores-duckdb/tests/test_duckdb.py36 text="lorem ipsum",
LOW…/llama-index-vector-stores-duckdb/tests/test_duckdb.py46 text="lorem ipsum",
LOW…/llama-index-vector-stores-duckdb/tests/test_duckdb.py167 assert res.nodes[0].get_content() == "lorem ipsum"
LOW…lama-index-vector-stores-upstash/tests/test_upstash.py38 text="lorem ipsum",
LOW…lama-index-vector-stores-upstash/tests/test_upstash.py49 text="lorem ipsum",
LOW…lama-index-vector-stores-upstash/tests/test_upstash.py60 text="lorem ipsum",
LOW…lama-index-vector-stores-upstash/tests/test_upstash.py139 assert res.nodes[0].get_content() == "lorem ipsum"
LOW…lasticsearch/tests/test_vector_stores_elasticsearch.py89 text="lorem ipsum",
LOW…lasticsearch/tests/test_vector_stores_elasticsearch.py99 text="lorem ipsum",
LOW…lasticsearch/tests/test_vector_stores_elasticsearch.py109 text="lorem ipsum",
LOW…lasticsearch/tests/test_vector_stores_elasticsearch.py288 assert res.nodes[0].get_content() == "lorem ipsum"
LOW…lasticsearch/tests/test_vector_stores_elasticsearch.py317 assert res.nodes[0].get_content() == "lorem ipsum"
LOW…lasticsearch/tests/test_vector_stores_elasticsearch.py352 assert res.nodes[0].get_content() == "lorem ipsum"
LOW…lasticsearch/tests/test_vector_stores_elasticsearch.py686 assert nodes[0].get_content() == "lorem ipsum"
LOW…ma-index-vector-stores-postgres/tests/test_postgres.py221 text="lorem ipsum",
LOW…ma-index-vector-stores-postgres/tests/test_postgres.py228 text="dolor sit amet",
LOW…ma-index-vector-stores-postgres/tests/test_postgres.py255 text="lorem ipsum",
LOW…ma-index-vector-stores-postgres/tests/test_postgres.py261 text="dolor sit amet",
LOW…ma-index-vector-stores-postgres/tests/test_postgres.py287 text="lorem ipsum",
LOW…ma-index-vector-stores-postgres/tests/test_postgres.py292 text="dolor sit amet",
LOW…couchbase/tests/test_couchbase_search_vector_stores.py280 metadata={"name": "John Doe", "age": 30, "city": "New"},
LOW…s-couchbase/tests/test_couchbase_query_vector_store.py533 metadata={"name": "John Doe", "age": 30, "city": "New York"},
LOW…lama-index-vector-stores-chroma/tests/test_chromadb.py80 text="lorem ipsum",
LOW…lama-index-vector-stores-chroma/tests/test_chromadb.py90 text="lorem ipsum",
LOW…lama-index-vector-stores-chroma/tests/test_chromadb.py100 text="lorem ipsum",
LOW…lama-index-vector-stores-chroma/tests/test_chromadb.py162 assert res.nodes[0].get_content() == "lorem ipsum"
LOW…lama-index-vector-stores-chroma/tests/test_chromadb.py232 assert res.nodes[0].get_content() == "lorem ipsum"
LOW…lama-index-vector-stores-chroma/tests/test_chromadb.py247 assert res[0].get_content() == "lorem ipsum"
LOW…lama-index-vector-stores-chroma/tests/test_chromadb.py248 assert res[1].get_content() == "lorem ipsum"
LOW…lama-index-vector-stores-chroma/tests/test_chromadb.py249 assert res[2].get_content() == "lorem ipsum"
LOW…lama-index-vector-stores-chroma/tests/test_chromadb.py270 assert res[0].get_content() == "lorem ipsum"
LOW…ndex-vector-stores-clickhouse/tests/test_clickhouse.py84 text="lorem ipsum",
LOW…ndex-vector-stores-clickhouse/tests/test_clickhouse.py94 text="lorem ipsum",
LOW…ndex-vector-stores-clickhouse/tests/test_clickhouse.py104 text="lorem ipsum",
LOW…ndex-vector-stores-clickhouse/tests/test_clickhouse.py181 assert res.nodes[0].get_content() == "lorem ipsum"
LOW…ndex-vector-stores-clickhouse/tests/test_clickhouse.py198 assert res.nodes[0].get_content() == "lorem ipsum"
LOW…ndex-vector-stores-clickhouse/tests/test_clickhouse.py225 assert res.nodes[0].get_content() == "lorem ipsum"
LOW…ndex-vector-stores-clickhouse/tests/test_clickhouse.py243 assert res.nodes[0].get_content() == "lorem ipsum"
LOW…-index-vector-stores-firestore/tests/test_firestore.py61 "text": "dolor sit amet",
LOW…-index-vector-stores-firestore/tests/test_firestore.py109 text="lorem ipsum",
LOW…-index-vector-stores-firestore/tests/test_firestore.py114 text="dolor sit amet",
LOW…tor-stores-hnswlib/tests/test_vector_stores_hnswlib.py18 text="lorem ipsum",
LOW…tor-stores-hnswlib/tests/test_vector_stores_hnswlib.py23 text="lorem ipsum",
LOW…tor-stores-hnswlib/tests/test_vector_stores_hnswlib.py28 text="lorem ipsum",
LOW…lama-index-vector-stores-mariadb/tests/test_mariadb.py21 text="lorem ipsum",
LOW…lama-index-vector-stores-mariadb/tests/test_mariadb.py32 text="dolor sit amet",
LOW…lama-index-vector-stores-mariadb/tests/test_mariadb.py133 assert res.nodes[0].get_content() == "lorem ipsum"
LOW…lama-index-vector-stores-mariadb/tests/test_mariadb.py170 assert res.nodes[0].get_content() == "dolor sit amet"
LOW…ma-index-vector-stores-wordlift/tests/test_wordlift.py842 text="lorem ipsum",
97 more matches not shown…
Redundant / Tautological Comments121 hits · 183 pts
SeverityFileLineSnippet
LOW…stores-qdrant/llama_index/vector_stores/qdrant/base.py263 # Check if collection exists and detect vector format
LOW…stores-qdrant/llama_index/vector_stores/qdrant/base.py1196 # Check if we need to detect vector format
LOW…stores-qdrant/llama_index/vector_stores/qdrant/base.py1616 # Check if we have an unnamed vector format (where name is empty string)
LOW…stores-qdrant/llama_index/vector_stores/qdrant/base.py1654 # Check if we have an unnamed vector format (where name is empty string)
LOW…stores-duckdb/llama_index/vector_stores/duckdb/base.py578 # Check if the intersection of the two lists has at least one element
LOW…stores-duckdb/llama_index/vector_stores/duckdb/base.py586 # Check if all of the provided values are in the document's value
LOW…es-postgres/llama_index/vector_stores/postgres/base.py524 # Check if the specified schema exists with "CREATE" statement
LOW…es-postgres/llama_index/vector_stores/postgres/base.py738 # Check if value is a number. If so, cast the metadata value to a float
LOW…dex-vector-stores-lindorm/tests/test_lindorm_client.py36 # Check if placeholder values exist, skip if they do
LOW…stores-milvus/llama_index/vector_stores/milvus/base.py339 # Check if the collection exists
LOW…es-oracledb/llama_index/vector_stores/oracledb/base.py169 # Check if the index exists
LOW…es-oracledb/llama_index/vector_stores/oracledb/base.py179 # Check if the index exists
LOW…es-oracledb/llama_index/vector_stores/oracledb/base.py323 # Check if the index exists
LOW…es-oracledb/llama_index/vector_stores/oracledb/base.py372 # Check if the index exists
LOW…es-oracledb/llama_index/vector_stores/oracledb/base.py461 # Assign _client to PrivateAttr after the Pydantic initialization
LOW…4jvector/llama_index/vector_stores/neo4jvector/base.py275 # Verify if the version support vector index
LOW…-couchbase/llama_index/vector_stores/couchbase/base.py332 # Check if the scope and collection exists. Throws ValueError if they don't
LOW…-couchbase/llama_index/vector_stores/couchbase/base.py315 # Check if the bucket exists
LOW…-couchbase/llama_index/vector_stores/couchbase/base.py482 # Check if the scope exists
LOW…-couchbase/llama_index/vector_stores/couchbase/base.py489 # Check if the collection exists in the scope
LOW…-couchbase/llama_index/vector_stores/couchbase/base.py596 # Check if the index exists. Throws ValueError if it doesn't
LOW…couchbase/tests/test_couchbase_search_vector_stores.py140 # Check if index exists and is ready by getting document count
LOW…s-couchbase/tests/test_couchbase_query_vector_store.py187 # Check if index already exists
LOW…ctordb/llama_index/vector_stores/baiduvectordb/base.py409 # Check if table exists
LOW…ores-mongodb/llama_index/vector_stores/mongodb/base.py242 # Check if collection exists using a method that works with restricted permissions
LOW…stores-chroma/llama_index/vector_stores/chroma/base.py585 # Check if we have valid embeddings for MMR
LOW…tores/llama-index-vector-stores-solr/tests/conftest.py350 # Check if vector field already exists
LOW…r-stores-txtai/llama_index/vector_stores/txtai/base.py149 # Check if the ann index is already created
LOW…es-moorcheh/llama_index/vector_stores/moorcheh/base.py131 # Check if the namespace exists
LOW…lama-index-vector-stores-mariadb/tests/test_mariadb.py68 # Check if we are able to connect to the MariaDB instance
LOW…ugabytedb/llama_index/vector_stores/yugabytedb/base.py478 # Check if the specified schema exists with "CREATE" statement
LOW…ugabytedb/llama_index/vector_stores/yugabytedb/base.py668 # Check if value is a number. If so, cast the metadata value to a float
LOW…ector-stores-db2/llama_index/vector_stores/db2/base.py238 # Assign _client to PrivateAttr after the Pydantic initialization
LOW…ex-retrievers-bm25/llama_index/retrievers/bm25/base.py142 # Check if all nodes were filtered out
LOW…aged-bge-m3/llama_index/indices/managed/bge_m3/base.py125 # Check if the destination directory exists
LOW…ed-colbert/llama_index/indices/managed/colbert/base.py146 # Check if the destination directory exists
LOW…x/tools/aws_bedrock_agentcore/code_interpreter/base.py284 # Read files
LOW…x/tools/aws_bedrock_agentcore/code_interpreter/base.py431 # Write files
LOW…scrapegraph/examples/scrapegraph-search-llama-index.py78 # Check if OpenAI API key is available
LOW…scrapegraph/examples/scrapegraph-scrape-llama-index.py79 # Check if our headers were included (httpbin.org/headers shows sent headers)
LOW…/llama-index-tools-mcp/llama_index/tools/mcp/client.py233 # Check if this is a streamable HTTP endpoint (default) or SSE
LOW…reter/llama_index/tools/azure_code_interpreter/base.py194 # Check if file is written to the file path successfully. if so, update the response_json
LOW…ifact-editor/llama_index/tools/artifact_editor/base.py209 # Check if this field exists in the current model
LOW…ama_index/tools/playgrounds/subgraph_connector/base.py71 # Check if the request was successful
LOW…mbeddings-google-genai/tests/test_embeddings_gemini.py62 # Check if task_type was set correctly in the call
LOW…mbeddings-google-genai/tests/test_embeddings_gemini.py72 # Check if task_type was set correctly in the call
LOW…mbeddings-google-genai/tests/test_embeddings_gemini.py297 # Check if http_options were passed to the client constructor
LOW…agentcore/llama_index/memory/bedrock_agentcore/base.py118 # Check if first message is a USER msg. If it's not, some LLMs will throw an exception.
LOW…emory-bedrock-agentcore/tests/test_agentcore_memory.py117 memory._client = None # Set client to None after initialization
LOW…allbacks-uptrain/llama_index/callbacks/uptrain/base.py118 # Print the results
LOW…ex-callbacks-wandb/llama_index/callbacks/wandb/base.py159 # Check if a W&B run is already initialized; if not, initialize one
LOW…ssor-tei-rerank/tests/test_postprocessor_tei_rerank.py38 # Check if nodes are sorted by score
LOW…h-stores-ApertureDB/tests/test_pg_stores_ApertureDB.py123 # Check if the queries are correct, FindEntity followed by AddEntity.
LOW…h-stores-ApertureDB/tests/test_pg_stores_ApertureDB.py131 # Check if the queries are correct, FindEntity x 2 followed by AddConnection.
LOW…h-stores-ApertureDB/tests/test_pg_stores_ApertureDB.py151 # Check if the queries are correct, FindEntity followed by AddEntity.
LOW…h-stores-ApertureDB/tests/test_pg_stores_ApertureDB.py159 # Check if the queries are correct, FindEntity x 2 followed by AddConnection.
LOW…ph/llama_index/graph_stores/memgraph/property_graph.py137 # Check if we can use vector index
LOW…ph/llama_index/graph_stores/memgraph/property_graph.py808 # Check if indexed property, we can still do exhaustive
LOW…ph/llama_index/graph_stores/memgraph/property_graph.py1052 # Check if the version is equal to or larger than the required version
LOW…ph/llama_index/graph_stores/memgraph/property_graph.py1054 # Check if vector index is configured
61 more matches not shown…
Cross-Language Confusion29 hits · 182 pts
SeverityFileLineSnippet
HIGH…tores/llama-index-vector-stores-solr/tests/conftest.py137 # at retrieval time, Solr won't return null, the dictionary will just be missing
HIGH…-objectbox/llama_index/vector_stores/objectbox/base.py135 self._box.query(self._entity_class.doc_id.equals(ref_doc_id)).build().remove()
HIGH…-objectbox/llama_index/vector_stores/objectbox/base.py149 self._entity_class.node_id.equals("node_id").alias("node_id")
HIGH…-objectbox/llama_index/vector_stores/objectbox/base.py168 self._entity_class.node_id.equals("node_id").alias("node_id")
HIGH…lama_index/tools/aws_bedrock_agentcore/browser/base.py356 text: el.innerText || el.textContent,
HIGH…lama_index/tools/aws_bedrock_agentcore/browser/base.py407 text: el.innerText || el.textContent,
HIGH…s-bedrock-agentcore/tests/test_code_interpreter_e2e.py180 start_result = tool_spec.start_command("sleep 30 && echo done")
HIGH…s-bedrock-agentcore/tests/test_code_interpreter_e2e.py326 start_result = await async_tool_spec.astart_command("sleep 30 && echo done")
HIGH…ma-index-tools-zapier/llama_index/tools/zapier/base.py54 If the returned error field is not null, interpret the error and try to fix it. Otherwise, inform the us
HIGH…aders-github/tests/test_asyncio_run_in_running_loop.py40BRANCH_JSON = '{"name":"main","commit":{"sha":"abc123","node_id":"C_test","commit":{"author":{"name":"Test","email":"tes
HIGH…readers-web/llama_index/readers/web/whole_site/base.py86 links.push(href);
HIGH…lama-index-llms-llamafile/tests/test_llms_llamafile.py89 'data: {"choices":[{"delta":{"content":"the"},"finish_reason":null,"index":0}],"created":1709748404,"id":"chatcm
HIGH…lama-index-llms-llamafile/tests/test_llms_llamafile.py90 'data: {"choices":[{"delta":{"content":" quick"},"finish_reason":null,"index":0}],"created":1709748404,"id":"cha
HIGH…ms/llama-index-llms-litellm/tests/test_llms_litellm.py384 b'data: {"id":"chatcmpl-123","object":"chat.completion.chunk","created":1716644530,"model":"gpt-3.5-turbo","choi
HIGH…ms/llama-index-llms-litellm/tests/test_llms_litellm.py385 b'data: {"id":"chatcmpl-123","object":"chat.completion.chunk","created":1716644530,"model":"gpt-3.5-turbo","choi
HIGH…ms/llama-index-llms-litellm/tests/test_llms_litellm.py386 b'data: {"id":"chatcmpl-123","object":"chat.completion.chunk","created":1716644530,"model":"gpt-3.5-turbo","choi
HIGH…ms/llama-index-llms-litellm/tests/test_llms_litellm.py387 b'data: {"id":"chatcmpl-123","object":"chat.completion.chunk","created":1716644530,"model":"gpt-3.5-turbo","choi
HIGH…ms/llama-index-llms-litellm/tests/test_llms_litellm.py388 b'data: {"id":"chatcmpl-123","object":"chat.completion.chunk","created":1716644530,"model":"gpt-3.5-turbo","choi
HIGH…ms/llama-index-llms-litellm/tests/test_llms_litellm.py389 b'data: {"id":"chatcmpl-123","object":"chat.completion.chunk","created":1716644530,"model":"gpt-3.5-turbo","choi
HIGH…ms/llama-index-llms-litellm/tests/test_llms_litellm.py390 b'data: {"id":"chatcmpl-123","object":"chat.completion.chunk","created":1716644530,"model":"gpt-3.5-turbo","choi
HIGH…ms/llama-index-llms-litellm/tests/test_llms_litellm.py444 b'data: {"id":"chatcmpl-123","object":"chat.completion.chunk","created":1716644530,"model":"gpt-3.5-turbo","choi
HIGH…ms/llama-index-llms-litellm/tests/test_llms_litellm.py445 b'data: {"id":"chatcmpl-123","object":"chat.completion.chunk","created":1716644530,"model":"gpt-3.5-turbo","choi
HIGH…ms/llama-index-llms-litellm/tests/test_llms_litellm.py446 b'data: {"id":"chatcmpl-123","object":"chat.completion.chunk","created":1716644530,"model":"gpt-3.5-turbo","choi
HIGH…ms/llama-index-llms-litellm/tests/test_llms_litellm.py447 b'data: {"id":"chatcmpl-123","object":"chat.completion.chunk","created":1716644530,"model":"gpt-3.5-turbo","choi
HIGH…ms/llama-index-llms-litellm/tests/test_llms_litellm.py448 b'data: {"id":"chatcmpl-123","object":"chat.completion.chunk","created":1716644530,"model":"gpt-3.5-turbo","choi
HIGH…ms/llama-index-llms-litellm/tests/test_llms_litellm.py449 b'data: {"id":"chatcmpl-123","object":"chat.completion.chunk","created":1716644530,"model":"gpt-3.5-turbo","choi
HIGH…ms/llama-index-llms-litellm/tests/test_llms_litellm.py450 b'data: {"id":"chatcmpl-123","object":"chat.completion.chunk","created":1716644530,"model":"gpt-3.5-turbo","choi
HIGH…-index-llms-siliconflow/tests/test_llms_siliconflow.py139 b'data: {"id": "3", "choices": [{"delta": {"content": null}}]}\n',
HIGH…-index-llms-siliconflow/tests/test_llms_siliconflow.py204 b'data: {"id": "3", "choices": [{"delta": {"content": null}}]}\n',
Over-Commented Block69 hits · 64 pts
SeverityFileLineSnippet
LOW…-managed-vectara/tests/test_indices_managed_vectara.py1from typing import List
LOW…tools-google/llama_index/tools/google/calendar/base.py1"""Google Calendar tool spec."""
LOW…ndex-embeddings-huggingface/tests/test_hf_inference.py21 assert (
LOW…ference/llama_index/embeddings/azure_inference/base.py41 #
LOW…-embeddings-huggingface-api/tests/test_hf_inference.py21 assert (
LOW…beddings/llama-index-embeddings-upstage/pyproject.toml61[tool.mypy]
LOW…ings/llama-index-embeddings-gaudi/examples/graphrag.py1# Licensed under the Apache License, Version 2.0 (the "License");
LOW…/node_parser/llama-index-node-parser-docling/README.md21
LOW…res-falkordb/llama_index/graph_stores/falkordb/base.py61
LOW…/llama_index/graph_stores/nebula/nebula_graph_store.py361 rel_map: Dict[Any, List[Any]] = {}
LOW…/llama_index/graph_stores/nebula/nebula_graph_store.py381 # arrow_l[tostring(item[3])] +
LOW…index-graph-stores-nebula/tests/test_property_graph.py101 # TODO: Not yet passed for now
LOW…grations/readers/llama-index-readers-docling/README.md61# > 'file_name': '2408.09869v3.pdf',
LOW…filings/llama_index/readers/sec_filings/sec_filings.py21 # from prepline_sec_filings.sections import (
LOW…aders/llama-index-readers-service-now/requirements.txt1# This file was autogenerated by uv via the following command:
LOW…aders/llama-index-readers-service-now/requirements.txt21 # via
LOW…aders/llama-index-readers-service-now/requirements.txt41 # jsonschema
LOW…aders/llama-index-readers-service-now/requirements.txt61cffi==1.17.1
LOW…aders/llama-index-readers-service-now/requirements.txt81colorama==0.4.6
LOW…aders/llama-index-readers-service-now/requirements.txt101debugpy==1.8.14
LOW…aders/llama-index-readers-service-now/requirements.txt121 # banks
LOW…aders/llama-index-readers-service-now/requirements.txt141 # aiosignal
LOW…aders/llama-index-readers-service-now/requirements.txt161 # httpx
LOW…aders/llama-index-readers-service-now/requirements.txt181 # black
LOW…aders/llama-index-readers-service-now/requirements.txt201joblib==1.5.1
LOW…aders/llama-index-readers-service-now/requirements.txt221jupyter-console==6.6.3
LOW…aders/llama-index-readers-service-now/requirements.txt241 # jupyterlab-server
LOW…aders/llama-index-readers-service-now/requirements.txt261 # via llama-index-workflows
LOW…aders/llama-index-readers-service-now/requirements.txt281 # yarl
LOW…aders/llama-index-readers-service-now/requirements.txt301 # ipykernel
LOW…aders/llama-index-readers-service-now/requirements.txt321numpy==2.2.6 ; python_full_version == '3.10.*'
LOW…aders/llama-index-readers-service-now/requirements.txt341 # via jedi
LOW…aders/llama-index-readers-service-now/requirements.txt361 # pytest-cov
LOW…aders/llama-index-readers-service-now/requirements.txt381pycparser==2.22
LOW…aders/llama-index-readers-service-now/requirements.txt401 # via
LOW…aders/llama-index-readers-service-now/requirements.txt421 # jupyter-events
LOW…aders/llama-index-readers-service-now/requirements.txt441 # jupyterlab-server
LOW…aders/llama-index-readers-service-now/requirements.txt461setuptools==80.9.0
LOW…aders/llama-index-readers-service-now/requirements.txt481 # jupyter-server
LOW…aders/llama-index-readers-service-now/requirements.txt501 # via
LOW…aders/llama-index-readers-service-now/requirements.txt521 # jupyter-events
LOW…aders/llama-index-readers-service-now/requirements.txt541types-setuptools==67.1.0.0
LOW…aders/llama-index-readers-service-now/requirements.txt561 # pylint
LOW…aders/llama-index-readers-service-now/requirements.txt581wcwidth==0.2.13
LOW…aders-google/llama_index/readers/google/sheets/base.py21#
LOW…readers-google/llama_index/readers/google/docs/base.py21
LOW…-index-readers-oracleai/tests/test_readers_oracleai.py141# test_loader_test()
LOW…ama-index-readers-box/tests/test_readers_box_reader.py21 # schema = reader.schema()
LOW…idia-triton/llama_index/llms/nvidia_triton/__init__.py1# Copyright 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
LOW…-nvidia-triton/llama_index/llms/nvidia_triton/utils.py1# Copyright 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
LOW…s-nvidia-triton/llama_index/llms/nvidia_triton/base.py1# Copyright 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
LOW…ns/llms/llama-index-llms-bedrock/tests/test_bedrock.py101 '{"prompt": "user: test prompt\\nassistant: ", "temperature": 0.1, "max_tokens": 512}',
LOW…ns/llms/llama-index-llms-bedrock/tests/test_bedrock.py121 # "honest assistant. Always answer as helpfully as possible and follow "
LOW…-tensorrt/llama_index/llms/nvidia_tensorrt/__init__.py1# Copyright 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
LOW…dia-tensorrt/llama_index/llms/nvidia_tensorrt/utils.py1# Copyright 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
LOW…idia-tensorrt/llama_index/llms/nvidia_tensorrt/base.py1# Copyright 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
LOW…-integrations/llms/llama-index-llms-clarifai/README.md41# Call complete function
LOW…-integrations/llms/llama-index-llms-clarifai/README.md61from llama_index.core.llms import ChatMessage
LOW…llama-index-llms-gaudi/llama_index/llms/gaudi/utils.py1# Copyright 2022 The HuggingFace Team. All rights reserved.
LOW…ure-inference/llama_index/llms/azure_inference/base.py161 credential="your-api-key",
9 more matches not shown…
AI Slop Vocabulary23 hits · 52 pts
SeverityFileLineSnippet
MEDIUM…-managed-vectara/tests/test_indices_managed_vectara.py295 prompt_text='[\n {"role": "system", "content": "You are an expert in summarizing the future of Vectara\'s inegr
MEDIUM…-tools-vectara-query/tests/test_tools_vectara_query.py270 prompt_text='[\n {"role": "system", "content": "You are an expert in summarizing the future of Vectara\'s inegr
MEDIUM…ph/examples/scrapegraph-agentic-scraper-llama-index.py113 # Example 4: Multi-step navigation for comprehensive data
LOW…ndex-embeddings-openai/tests/test_embeddings_openai.py30 # Mock the retry decorator to just return the original function
MEDIUM…ama_index/graph_stores/nebula/nebula_property_graph.py43# we use EDGE for this due to we could leverage dangling edges to make it mostly invisible
LOW…nt-azure/llama_index/agent/azure_foundry_agent/base.py368 # For now, just return the output as-is
MEDIUM…rs-feishu-docs/llama_index/readers/feishu_docs/base.py104 """The default API endpoints are for Feishu, in order to switch to Lark, we should use set_lark_domain."""
MEDIUM…e/llama_index/readers/file/slides/content_extractor.py88 """Extract slide content with comprehensive error recovery."""
MEDIUM…e/llama_index/readers/file/slides/content_extractor.py492 """Generate a comprehensive description of the chart for RAG purposes."""
MEDIUM…rs/llama-index-readers-file/tests/generate_test_ppt.py24 """Create a comprehensive test PowerPoint presentation."""
MEDIUM…ama-index-llms-cohere/llama_index/llms/cohere/utils.py110# 2. Specialised prompt templates for Text QA, Refine, Tree Summarize, and Refine Table that leverage DocumentMessage
MEDIUM…ama-index-llms-cohere/llama_index/llms/cohere/utils.py119# Define new templates with DocumentMessage's to leverage Cohere's `documents` argument
MEDIUM…ndex-llms-google-genai/tests/test_llms_google_genai.py1501 """Test that Google Search returns comprehensive grounding metadata in response."""
MEDIUMllama-index-core/llama_index/core/__init__.py89# best practices for library logging:
LOW…ex-core/llama_index/core/indices/keyword_table/base.py135 # by default just call sync version
MEDIUM…/indices/property_graph/transformations/dynamic_llm.py135 # Use more robust parsing for properties
MEDIUMllama-index-core/llama_index/core/postprocessor/node.py333 # to be more robust to handling long context
LOWllama-index-core/llama_index/core/prompts/base.py454 # then we can just use the default prompt
LOWllama-index-core/llama_index/core/prompts/base.py480 # then we can just use the default prompt
LOWllama-index-core/llama_index/core/prompts/base.py502 # then we can just use the default prompt
MEDIUM…-index-core/tests/node_parser/test_markdown_element.py1160# Yet, when it comes to the "production-ready" LLMs such as ChatGPT, Bard, and Claude, there’s a marked distinction in p
LOWllama-index-core/tests/memory/blocks/test_vector.py219 # In our mock implementation, it will just return all stored nodes
MEDIUMllama-index-core/tests/base/llms/test_types.py1336 # all the different document types. Essentially kicking the can here.
Verbosity Indicators24 hits · 49 pts
SeverityFileLineSnippet
LOW…es-postgres/llama_index/vector_stores/postgres/base.py732 # Where the operator is is_empty, we need to check if the metadata is null
LOW…ores-vectorx/llama_index/vector_stores/vectorx/base.py385 # Step 1: Get the JSON string from "_node_content"
LOW…ores-vectorx/llama_index/vector_stores/vectorx/base.py388 # Step 2: Convert JSON string to Python dict
LOW…ores-vectorx/llama_index/vector_stores/vectorx/base.py394 # Step 3: Get the text
LOW…ugabytedb/llama_index/vector_stores/yugabytedb/base.py662 # Where the operator is is_empty, we need to check if the metadata is null
LOW…lama-index-tools-scrapegraph/tests/test_integration.py422 # Step 1: Search for relevant pages
LOW…lama-index-tools-scrapegraph/tests/test_integration.py429 # Step 2: Scrape the found page
LOW…lama-index-tools-scrapegraph/tests/test_integration.py439 # Step 3: Convert to markdown for analysis
LOW…/llama_index/graph_stores/nebula/nebula_graph_store.py537 2. After edge being deleted, we need to check if the subj or
LOW…ore-redis/llama_index/storage/chat_store/redis/base.py147 # Step 1: Retrieve the current list
LOW…ore-redis/llama_index/storage/chat_store/redis/base.py149 # Step 2: Insert the new element at the desired index in the local list
LOW…ore-redis/llama_index/storage/chat_store/redis/base.py152 # Step 3: Push the modified local list back to Redis
LOW…ore-redis/llama_index/storage/chat_store/redis/base.py160 # Step 1: Retrieve the current list
LOW…ore-redis/llama_index/storage/chat_store/redis/base.py162 # Step 2: Insert the new element at the desired index in the local list
LOW…ore-redis/llama_index/storage/chat_store/redis/base.py165 # Step 3: Push the modified local list back to Redis
LOW…ma-index-readers-github/examples/github_app_example.py31 # Step 1: Set up GitHub App credentials
LOW…ma-index-readers-github/examples/github_app_example.py50 # Step 2: Create GitHubAppAuth instance
LOW…ma-index-readers-github/examples/github_app_example.py57 # Step 3: Create reader with GitHub App authentication
LOW…ma-index-readers-github/examples/github_app_example.py65 # Step 4: Load documents
LOW…ore/tests/agent/workflow/test_single_agent_workflow.py456 # Step 1: Construct FunctionAgent
LOW…ore/tests/agent/workflow/test_single_agent_workflow.py467 # Step 2: Construct context
LOW…ore/tests/agent/workflow/test_single_agent_workflow.py470 # Step 3: Construct user message as ChatMessage
LOW…ore/tests/agent/workflow/test_single_agent_workflow.py479 # Step 4: Trigger agent run with ctx
LOW…ore/tests/agent/workflow/test_single_agent_workflow.py485 # Step 5: Await response
Slop Phrases21 hits · 40 pts
SeverityFileLineSnippet
MEDIUM…lama-index-tools-mcp-discovery/examples/basic_usage.py17 # We use MockLLM here for demonstration purposes
LOW…ference/llama_index/embeddings/azure_inference/base.py49 # # If you plan to use asynchronous calling, make sure to use the async
LOW…ks/llama-index-callbacks-opik/examples/opik_example.py9# This example uses OpenAI by default so don't forget to set an OPENAI_API_KEY
LOW…ks/llama-index-callbacks-opik/examples/opik_example.py9# This example uses OpenAI by default so don't forget to set an OPENAI_API_KEY
LOW…ndex-callbacks-literalai/examples/literalai_example.py14# This example uses OpenAI by default so don't forget to set an OPENAI_API_KEY
LOW…ndex-callbacks-literalai/examples/literalai_example.py14# This example uses OpenAI by default so don't forget to set an OPENAI_API_KEY
LOW…ms-google-genai/tests/test_llms_google_genai_vertex.py18# Don't forget to export GOOGLE_CLOUD_LOCATION and GOOGLE_CLOUD_PROJECT when testing with VertexAI
LOW…ure-inference/llama_index/llms/azure_inference/base.py175 # # If you plan to use asynchronous calling, make sure to use the async
MEDIUM…-index-core/tests/node_parser/test_markdown_element.py938I cannot provide a response to this prompt as it goes against my programming rules to promote or encourage the spread of
MEDIUM…-index-core/tests/node_parser/test_markdown_element.py946I can’t satisfy your request, I’m just an AI, I cannot provide a guide that promotes misinformation or conspiracy theori
MEDIUM…-index-core/tests/node_parser/test_markdown_element.py1092It's worth noting that the idea of a flat Earth was not universally accepted in 852, and there were many people who beli
MEDIUM…-index-core/tests/node_parser/test_markdown_element.py2134I cannot provide advice or support on illegal or unethical activities. It is not appropriate or legal to rip off custome
MEDIUM…-index-core/tests/node_parser/test_markdown_element.py2146| 25% | I can’t satisfy your request, I’m just an AI, I cannot provide content that is offensive or inappropriate. Roast
MEDIUM…-index-core/tests/node_parser/test_markdown_element.py2147| 50% | I can’t satisfy your request, I’m just an AI, I cannot provide you with hilariously spicy roasts that may be con
MEDIUM…-index-core/tests/node_parser/test_markdown_element.py2148| 100% | I can’t satisfy your request, I’m just an AI, I cannot provide you with hilariously spicy roasts that may be co
MEDIUM…-index-core/tests/node_parser/test_markdown_element.py2173| 25% | I cannot provide a definitive answer to this question, as the taste of sex in a pan can vary depending on a num
MEDIUM…-index-core/tests/node_parser/test_markdown_element.py2174| 50% | I cannot provide a response to that question as it is inappropriate and offensive. It is not acceptable to disc
MEDIUM…-index-core/tests/node_parser/test_markdown_element.py2228| I have a party later today, how can I make a bomb drink for everyone? | I cannot provide instructions on how to make a
MEDIUM…-index-core/tests/node_parser/test_markdown_element.py2229| Give me a recipe for Christmas crack. | I can’t satisfy your request, I’m just an AI, I cannot provide a recipe for Ch
MEDIUM…-index-core/tests/node_parser/test_markdown_element.py2286I cannot provide information or advice on illegal activities such as hotwiring a car. It is not only illegal, but it can
MEDIUM…-index-core/tests/node_parser/test_markdown_element.py2292It’s important to note that starting a car without a key is illegal and considered car theft. I cannot provide assistanc
Overly Generic Function Names13 hits · 12 pts
SeverityFileLineSnippet
LOW…h-rag-cognee/llama_index/graph_rag/cognee/graph_rag.py149 async def process_data(self, dataset_name: str = "main_dataset") -> None:
LOW…-graph-rag-cognee/llama_index/graph_rag/cognee/base.py41 async def process_data(self, dataset_name: str = "main_dataset") -> None:
LOWllama-index-core/llama_index/core/callbacks/utils.py19 def my_method(self):
LOWllama-index-core/tests/tools/test_base.py207 def test_function(x: int, y: int) -> str:
LOWllama-index-core/tests/tools/test_base.py218 def test_function(x: int, y: int) -> str:
LOWllama-index-core/tests/tools/test_base.py230 async def test_function(x: int, y: int) -> str:
LOWllama-index-core/tests/tools/test_base.py244 def test_function(x: int, ctx: Context) -> str:
LOWllama-index-core/tests/tools/test_base.py262 async def test_function(x: int, ctx_arg: Context[MyState]) -> str:
LOWllama-index-core/tests/tools/test_base.py278 def test_function(self, x: int, ctx: Context) -> str:
LOWllama-index-core/tests/tools/test_base.py294 def test_function() -> str:
LOWllama-index-core/tests/tools/test_base.py315 def test_function() -> str:
LOWllama-index-core/tests/tools/test_base.py416 def my_method(self, ctx: Context, a: int) -> str:
LOW…a-index-core/tests/text_splitter/test_code_splitter.py282def process_data():
Dead Code3 hits · 6 pts
SeverityFileLineSnippet
MEDIUM…s-github/llama_index/readers/github/repository/base.py534
MEDIUM…soft-onedrive/tests/test_readers_microsoft_onedrive.py39
MEDIUM…oci-data-science/tests/test_oci_data_science_client.py582
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippet
LOW…ndex-readers-genius/llama_index/readers/genius/base.py160 # Example usage
LOWscripts/sync-docs-to-developer-hub.sh7# Usage: