AI Slop Code RIsk Monitor

llmware-ai/llmware

Unified framework for building enterprise RAG pipelines with small, specialized models

20.2 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for llmware-ai/llmware, a Python project with 14,820 GitHub stars. SynthScan examined 83,207 lines of code across 323 source files, recording 1005 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 20.2 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

20.2
Adjusted Signal
20.2
Raw Pattern Score
100%
Time Factor
2026-10-01
Last Push
14.8K
Stars
Python
Language
83.2K
Lines of Code
323
Files
1.0K
Pattern Hits
2026-10-12
Scan Date
0.27
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 48.9/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 819 finding(s).

Hallucinated Dependency & Supply Chain Risk 2.4/100 · LOW

Are imports declared and package/API names verified? 35 finding(s).

Agent Over-Engineering Ratio 38.5/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 502 finding(s).

PR Review Velocity Impact 65.3/100 · HIGH

Which changes need focused human review? 1005 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 88MEDIUM 159LOW 758

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 1005 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Cross-File Repetition73 hits · 365 pts
SeverityFileLineSnippetContext
HIGHREADME.md0this 'hello world' example demonstrates how to get started using local bling models with provided context, using both pySTRING
HIGHdocs/components/rag_optimized_models.md0this 'hello world' example demonstrates how to get started using local bling models with provided context, using both pySTRING
HIGHdocs/getting_started/overview.md0this 'hello world' example demonstrates how to get started using local bling models with provided context, using both pySTRING
HIGHtests/embeddings/test_install_embeddings.py0note: this setup_library method is provided to enable a self-contained example to create a test librarySTRING
HIGHsolutions/embeddings/using_milvus_lite.py0note: this setup_library method is provided to enable a self-contained example to create a test librarySTRING
HIGHsolutions/rag/example-2-build_embeddings.py0note: this setup_library method is provided to enable a self-contained example to create a test librarySTRING
HIGHdocs/examples/embedding.md0note: this setup_library method is provided to enable a self-contained example to create a test librarySTRING
HIGHtests/models/test_whisper_cpp_model_load.py0execute a basic inference on voice-to-text model passing a file_path stringSTRING
HIGHsolutions/gguf/using-whisper-cpp-sample-files.py0execute a basic inference on voice-to-text model passing a file_path stringSTRING
HIGH…slim_agents/agents-7-using-whisper-cpp-sample-files.py0execute a basic inference on voice-to-text model passing a file_path stringSTRING
HIGHdocs/components/whisper_cpp.md0execute a basic inference on voice-to-text model passing a file_path stringSTRING
HIGHsolutions/ui/integrating_pywebio_ui.py0simple inference loop that loads a model and runs through a series of test questions.STRING
HIGHsolutions/gguf/bling_fast_start.py0simple inference loop that loads a model and runs through a series of test questions.STRING
HIGHsolutions/models/bling_fast_start.py0simple inference loop that loads a model and runs through a series of test questions.STRING
HIGH…_agents/agents-2-llmware_model_sampler_bling_dragon.py0simple inference loop that loads a model and runs through a series of test questions.STRING
HIGHdocs/examples/models.md0simple inference loop that loads a model and runs through a series of test questions.STRING
HIGHsolutions/embeddings/using_milvus_lite.py0this method is the core example of installing an embedding on a library. -- two inputs - (1) a pre-created library objecSTRING
HIGHsolutions/rag/example-2-build_embeddings.py0this method is the core example of installing an embedding on a library. -- two inputs - (1) a pre-created library objecSTRING
HIGHdocs/examples/embedding.md0this method is the core example of installing an embedding on a library. -- two inputs - (1) a pre-created library objecSTRING
HIGH…t_start_marimo_examples/llmware_fast_start_example2.py0this method is the core example of installing an embedding on a library. -- two inputs - (1) a pre-created library objecSTRING
HIGH…lutions/embeddings/using_semantic_reranker_with_rag.py0executes a rag process in memory using semantic reranker model and bling-phi-3-gguf to answer the question.STRING
HIGHsolutions/onnxruntime/using_onnx_reranker_models.py0executes a rag process in memory using semantic reranker model and bling-phi-3-gguf to answer the question.STRING
HIGHsolutions/openvino/using_openvino_reranker_model.py0executes a rag process in memory using semantic reranker model and bling-phi-3-gguf to answer the question.STRING
HIGH…m_agents/agents-10-using_semantic_reranker_with_rag.py0executes a rag process in memory using semantic reranker model and bling-phi-3-gguf to answer the question.STRING
HIGHsolutions/onnxruntime/using_local_foundry_models.py0this example shows how to use windows local foundry models. pre-reqs: 1. install local foundry, e.g., `winget install miSTRING
HIGHsolutions/gguf/using_local_foundry_models.py0this example shows how to use windows local foundry models. pre-reqs: 1. install local foundry, e.g., `winget install miSTRING
HIGHsolutions/openvino/using_local_foundry_models.py0this example shows how to use windows local foundry models. pre-reqs: 1. install local foundry, e.g., `winget install miSTRING
HIGHsolutions/models/using_local_foundry_models.py0this example shows how to use windows local foundry models. pre-reqs: 1. install local foundry, e.g., `winget install miSTRING
HIGHsolutions/gguf/using-whisper-cpp-sample-files.py0this example shows how to use llmware provided sample files for testing with whispercpp, integrated as of llmware 0.2.11STRING
HIGH…slim_agents/agents-7-using-whisper-cpp-sample-files.py0this example shows how to use llmware provided sample files for testing with whispercpp, integrated as of llmware 0.2.11STRING
HIGHdocs/components/whisper_cpp.md0this example shows how to use llmware provided sample files for testing with whispercpp, integrated as of llmware 0.2.11STRING
HIGHsolutions/gguf/using-phi-3-function-calls.py0this example shows how to use 7 different slim function calling models fine-tuned on top of phi-3: -- extraction - slim-STRING
HIGHsolutions/models/using-phi-3-function-calls.py0this example shows how to use 7 different slim function calling models fine-tuned on top of phi-3: -- extraction - slim-STRING
HIGH…ons/slim_agents/agents-8-using-phi-3-function-calls.py0this example shows how to use 7 different slim function calling models fine-tuned on top of phi-3: -- extraction - slim-STRING
HIGHsolutions/gguf/using_function_calls.py0discover a list of slim tools in the model catalog. -- slims are available in both traditional pytorch and quantized gguSTRING
HIGHsolutions/models/using_function_calls.py0discover a list of slim tools in the model catalog. -- slims are available in both traditional pytorch and quantized gguSTRING
HIGHsolutions/rag/example-7-function-calls.py0discover a list of slim tools in the model catalog. -- slims are available in both traditional pytorch and quantized gguSTRING
HIGHdocs/components/slim_models.md0discover a list of slim tools in the model catalog. -- slims are available in both traditional pytorch and quantized gguSTRING
HIGHsolutions/gguf/using_function_calls.py0slim models can be identified in the modelcatalog like any llmware model. instead of using inference method, slim modelsSTRING
HIGHsolutions/models/using_function_calls.py0slim models can be identified in the modelcatalog like any llmware model. instead of using inference method, slim modelsSTRING
HIGHsolutions/rag/example-7-function-calls.py0slim models can be identified in the modelcatalog like any llmware model. instead of using inference method, slim modelsSTRING
HIGHdocs/components/slim_models.md0slim models can be identified in the modelcatalog like any llmware model. instead of using inference method, slim modelsSTRING
HIGHsolutions/gguf/using_function_calls.py0this example shows two key elements of function calling slim models - 1. using logit information to indicate confidence STRING
HIGHsolutions/models/using_function_calls.py0this example shows two key elements of function calling slim models - 1. using logit information to indicate confidence STRING
HIGHsolutions/rag/example-7-function-calls.py0this example shows two key elements of function calling slim models - 1. using logit information to indicate confidence STRING
HIGHdocs/components/slim_models.md0this example shows two key elements of function calling slim models - 1. using logit information to indicate confidence STRING
HIGHsolutions/gguf/using_slim_extract.py0this example illustrates how to use the slim-extract model to extract custom keys from selected text. we have included aSTRING
HIGHsolutions/models/using_slim_extract.py0this example illustrates how to use the slim-extract model to extract custom keys from selected text. we have included aSTRING
HIGHsolutions/slim_agents/agents-3-using_slim_extract.py0this example illustrates how to use the slim-extract model to extract custom keys from selected text. we have included aSTRING
HIGHsolutions/gguf/bling_fast_start.py0this example demonstrates prompting local bling models with provided context - easy to select among different bling modeSTRING
HIGHsolutions/models/bling_fast_start.py0this example demonstrates prompting local bling models with provided context - easy to select among different bling modeSTRING
HIGHdocs/examples/models.md0this example demonstrates prompting local bling models with provided context - easy to select among different bling modeSTRING
HIGHsolutions/gguf/gguf_streaming.py0this example illustrates how to use the stream method for gguf models for fast streaming of inference, especially for reSTRING
HIGHsolutions/slim_agents/agents-11-gguf_streaming.py0this example illustrates how to use the stream method for gguf models for fast streaming of inference, especially for reSTRING
HIGHdocs/components/gguf.md0this example illustrates how to use the stream method for gguf models for fast streaming of inference, especially for reSTRING
HIGHsolutions/models/document_summarizer.py0this example shows a packaged 'document_summarizer' prompt using the slim-summary-tool. it shows a variety of techniquesSTRING
HIGHsolutions/slim_agents/agents-9-document_summarizer.py0this example shows a packaged 'document_summarizer' prompt using the slim-summary-tool. it shows a variety of techniquesSTRING
HIGHdocs/examples/prompts.md0this example shows a packaged 'document_summarizer' prompt using the slim-summary-tool. it shows a variety of techniquesSTRING
HIGH…ions/rag/example-9-function-calls-with-web-services.py0end-to-end example generating 30 output key:value pairsSTRING
HIGHsolutions/use_cases/web_services_slim_fx.py0end-to-end example generating 30 output key:value pairsSTRING
13 more matches not shown…
Modern AI Meta-Vocabulary110 hits · 318 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md35# 300+ Models in Catalog with 50+ RAG-optimized BLING, DRAGON and Industry BERT modelsCOMMENT
MEDIUMREADME.md82# to install an embedding on a library - pick an embedding model and vector_dbCOMMENT
MEDIUMREADME.md150# including in batches, if needed, to fit the model context windowCOMMENT
MEDIUMREADME.md413 # check out the model card on Huggingface for RAG benchmark test performance results and other useful informationCOMMENT
MEDIUMREADME.md502# using a RAG-optimized LLM running locallyCOMMENT
MEDIUMREADME.md588 # use local cpu model - try the newest - RAG finetune of Phi-3 quantized and packaged in GGUFCOMMENT
MEDIUMREADME.md600### OpenVINO Encoders - ideal for on-device, efficient RAG:COMMENT
MEDIUMREADME.md629### Industry-specific Embedding Models for Specialized RAGCOMMENT
MEDIUMllmware/library.py870 # step 2 - pass loaded embedding model to EmbeddingHandler, which will route to the appropriate resourceCOMMENT
MEDIUMllmware/models.py1378 # main case - load embedding model from CatalogCOMMENT
MEDIUMllmware/models.py3290 # adjusted to the actual model context window (if available)COMMENT
MEDIUMllmware/models.py6839 # Claude/Anthropic model - 8000 max token context windowCOMMENT
MEDIUMllmware/models.py7167 # Google Gemini model - 8000 max token context windowCOMMENT
MEDIUMllmware/models.py8218 # must have elements for embedding modelCOMMENT
MEDIUMllmware/models.py8391 # default for HF embedding model -> will be over-ridden by model card / configs, if availableCOMMENT
MEDIUMllmware/models.py8482 # option to set smaller size than model context windowCOMMENT
MEDIUMllmware/models.py8588 # default for HF embedding model -> will be over-ridden by model card / configs, if availableCOMMENT
MEDIUMllmware/models.py8679 # option to set smaller size than model context windowCOMMENT
MEDIUMllmware/models.py10403 # stop if combined input + output at context window sizeCOMMENT
MEDIUMllmware/models.py11040 # stop if combined input + output at context window sizeCOMMENT
MEDIUMllmware/models.py14200 # default for HF embedding model -> will be over-ridden by model card / configs, if availableCOMMENT
MEDIUMllmware/models.py14250 # option to set smaller size than model context windowCOMMENT
MEDIUMllmware/models.py15613 # stop if combined input + output at context window sizeCOMMENT
MEDIUMllmware/models.py16083 # stop if combined input + output at context window sizeCOMMENT
MEDIUMllmware/models.py16195 # stop if combined input + output at context window sizeCOMMENT
MEDIUMllmware/util.py1948 # note: the tokenizer is used primarily for 'counting' against the context window, so if theCOMMENT
MEDIUMllmware/util.py1950 # relative to the context window, but there should be any other detrimental impactsCOMMENT
MEDIUMllmware/prompts.py439 # and 'inject' real-time, up-to-date fact set into the prompt to minimize hallucination riskCOMMENT
MEDIUMllmware/prompts.py1000 # note: when loading model, context window is automatically set based on modelCOMMENT
MEDIUMllmware/retrieval.py131 # explicitly pass name of embedding model, if multiple embeddings on libraryCOMMENT
MEDIUMllmware/retrieval.py409 # check that embedding model is available, and if not, flip to text searchCOMMENT
MEDIUMllmware/retrieval.py715 # confirm that embedding model exists, or catch and raise errorCOMMENT
MEDIUMllmware/retrieval.py778 # confirm that embedding model exists, or catch and raise errorCOMMENT
MEDIUMllmware/retrieval.py825 # confirm that embedding model exists, or catch and raise errorCOMMENT
MEDIUMtests/embeddings/test_install_embeddings.py54 # select embedding modelCOMMENT
MEDIUMsolutions/ui/integrating_pywebio_ui.py396 # please note that by default, we recommend setting temperature=0.0 and sample=False for fact-based RAGCOMMENT
MEDIUMsolutions/embeddings/embeddings_fast_start.py29 # To create vector embeddings you just need to specify the embedding model and the vector embedding DBCOMMENT
MEDIUMsolutions/embeddings/using_pinecone.py22 # To create vector embeddings you just need to specify the embedding model and the vector embedding DBCOMMENT
MEDIUM⚡solutions/embeddings/using_milvus_lite.py124 # Step 2 - Select any embedding model in the LLMWare catalogCOMMENT
MEDIUMsolutions/embeddings/using_sentence_transformer.py89# use directly now as an embedding modelCOMMENT
MEDIUMsolutions/embeddings/using_multiple_vector_db.py92 # use directly now as an embedding modelCOMMENT
MEDIUMsolutions/embeddings/using_multiple_vector_db.py108 # 2. if embedding_model_name only passed, then looks up the first instance of that embedding modelCOMMENT
MEDIUMsolutions/embeddings/using_multiple_embeddings.py96 # use directly now as an embedding modelCOMMENT
MEDIUMsolutions/embeddings/using_multiple_embeddings.py113 # 2. if embedding_model_name only passed, then looks up the first instance of that embedding modelCOMMENT
MEDIUMsolutions/embeddings/using_lance.py23 # To create vector embeddings you just need to specify the embedding model and the vector embedding DBCOMMENT
MEDIUMsolutions/onnxruntime/adding_openvino_or_onnx_model.py65# or if using in conjunction with building a RAG promptCOMMENT
MEDIUM…lutions/gguf/dragon_rag_benchmark_tests_huggingface.py25# Pull a 200 question RAG benchmark test dataset from llmware HuggingFace repoCOMMENT
MEDIUMsolutions/gguf/dragon_rag_benchmark_tests_llmware.py26# Pull a 200 question RAG benchmark test dataset from llmware HuggingFace repoCOMMENT
MEDIUMsolutions/gguf/huggingface_integration.py44 # *** use any HF embedding model, e.g., BERT, Roberta, etc.COMMENT
MEDIUMsolutions/gguf/dragon_gguf_fast_start.py27# Pull a 200 question RAG benchmark test dataset from llmware HuggingFace repoCOMMENT
MEDIUMsolutions/gguf/using-qwen2-models.py24# 2 - RAG FINETUNE - DRAGON + BLINGCOMMENT
MEDIUMsolutions/gguf/using-qwen2-models.py26print("\nExample #2 - RAG finetuned Qwen2 for fact-based question answering with context passage.")CODE
MEDIUMsolutions/gguf/llmware_model_fast_start.py85# Pull a 200 question RAG benchmark test dataset from llmware HuggingFace repoCOMMENT
MEDIUM⚡solutions/openvino/README.md108Explore a wide range of [examples in the llmware repository](https://llmware-ai.github.io/llmware/examples). Because OpeCODE
MEDIUMsolutions/openvino/adding_openvino_or_onnx_model.py65# or if using in conjunction with building a RAG promptCOMMENT
MEDIUM…tions/models/dragon_rag_benchmark_tests_huggingface.py25# Pull a 200 question RAG benchmark test dataset from llmware HuggingFace repoCOMMENT
MEDIUMsolutions/models/dragon_rag_benchmark_tests_llmware.py26# Pull a 200 question RAG benchmark test dataset from llmware HuggingFace repoCOMMENT
MEDIUMsolutions/models/huggingface_integration.py44 # *** use any HF embedding model, e.g., BERT, Roberta, etc.COMMENT
MEDIUMsolutions/models/prompt_with_pdf_source.py23 # 3. batch according to the model context window, and make available for any future inferencesCOMMENT
MEDIUMsolutions/models/dragon_gguf_fast_start.py27# Pull a 200 question RAG benchmark test dataset from llmware HuggingFace repoCOMMENT
50 more matches not shown…
Hyper-Verbose Identifiers282 hits · 249 pts
SeverityFileLineSnippetContext
LOWREADME.md353def bling_meets_llmware_hello_world (model_name):CODE
LOWREADME.md510def contract_analysis_on_laptop (model_name):CODE
LOWllmware/configs.py263 def get_supported_collection_db(cls):CODE
LOWllmware/configs.py434 def get_logging_level_by_module(cls, module):CODE
LOWllmware/configs.py441 def set_logging_level_by_module(cls, module, level):CODE
LOWllmware/configs.py799 def get_uri_string_experimental_db(cls):CODE
LOW⚡llmware/configs.py1143 def get_auth_credentials_provider(cls):CODE
LOW⚡llmware/configs.py1147 def get_auth_credentials_file(cls):CODE
LOW⚡llmware/configs.py1155 def get_auth_token_transport_header(cls):CODE
LOWllmware/library.py454 def set_incremental_docs_blocks_images(self, added_docs=0, added_blocks=0, added_images=0, added_pages=0,CODE
LOWllmware/library.py627 def export_library_to_txt_file(self, output_fp=None, output_fn=None, include_text=True, include_tables=True,CODE
LOWllmware/library.py684 def export_library_to_jsonl_file(self, output_fp, output_fn, include_text=True, include_tables=True,CODE
LOWllmware/library.py757 def pull_files_from_cloud_bucket (self, aws_access_key=None, aws_secret_key=None, bucket_name=None):CODE
LOWllmware/library.py1133 def delete_installed_embedding(self, embedding_model_name, vector_db, vector_db_api_key=None):CODE
LOWllmware/library.py1210 def expand_text_result_before(self, block, window_size=400):CODE
LOWllmware/library.py1424 def set_incremental_docs_blocks_images(self, added_docs=0, added_blocks=0, added_images=0, added_pages=0,CODE
LOW⚡llmware/models.py2699 def get_global_inference_count(cls):CODE
LOW⚡llmware/models.py2703 def increment_global_inference_count(cls):CODE
LOW⚡llmware/models.py2708 def reset_global_inference_count(cls):CODE
LOWllmware/models.py178 def get_tokenizer_bos_eos_lookup(cls):CODE
LOWllmware/models.py202 def load_prompt_wrappers_from_file(cls, new_wrapper_registry):CODE
LOWllmware/models.py214 def load_tokenizer_configs_from_file(cls, new_tokenizer_configs):CODE
LOWllmware/models.py370 def create_new_foundry_manager(cls):CODE
LOWllmware/models.py602 def load_prompt_wrapper_registry(self, fp=None, fn="prompt_wrappers.json"):CODE
LOWllmware/models.py615 def save_prompt_wrapper_registry(self, fp=None, fn="prompt_wrappers.json"):CODE
LOWllmware/models.py630 def get_tokenizer_bos_eos_configs(self):CODE
LOWllmware/models.py636 def save_tokenizer_bos_eos_configs(self, fp=None, fn="tokenizer_bos_eos_configs.json"):CODE
LOWllmware/models.py651 def load_tokenizer_bos_eos_configs(self, fp=None, fn="tokenizer_bos_eos_configs.json"):CODE
LOWllmware/models.py664 def add_model_cards_from_file(self, fp=None, fn="custom_models_manifest.json"):CODE
LOWllmware/models.py703 def register_new_finetune_wrapper(self, name, main_start="", main_stop="", llm_start="",CODE
LOWllmware/models.py730 def get_list_registered_finetune_wrappers(self):CODE
LOWllmware/models.py736 def register_new_hf_generative_model(self, hf_model_name, llmware_lookup_name=None, display_name=None,CODE
LOWllmware/models.py778 def register_sentence_transformer_model(self, model_name, embedding_dims, context_window,CODE
LOWllmware/models.py920 def setup_custom_llmware_inference_server(self, uri_string, secret_key=None):CODE
LOWllmware/models.py953 def _instantiate_model_class_from_string(self, model_class, model_name, model_card, api_key=None,CODE
LOWllmware/models.py1325 def load_sentence_transformer_model(self,model, model_name):CODE
LOWllmware/models.py1442 def list_generative_local_models(self):CODE
LOWllmware/models.py1468 def list_intel_npu_optimized_models(self):CODE
LOWllmware/models.py1757 def list_function_call_models(self):CODE
LOWllmware/models.py1997 def remediate_function_call_string(self,input_string, dedupe_values=True):CODE
LOWllmware/models.py2444 def parse_instruction_for_user_vars(self, prompt_card, inference_dict=None):CODE
LOWllmware/models.py3935 def cleanup_stream_gen_on_early_stop(self):CODE
LOWllmware/models.py3942 def inference_over_api_endpoint(self, prompt, context=None, inference_dict=None, get_logits=False):CODE
LOWllmware/models.py4003 def function_call_over_api_endpoint(self, context="", tool_type="", model_name="", params="", prompt="",CODE
LOWllmware/models.py4422 def load_ov_external_tokenizer(self):CODE
LOWllmware/models.py4480 def ov_text_to_image_pipeline(self):CODE
LOWllmware/models.py4950 def inference_over_api_endpoint(self, prompt, context=None, inference_dict=None, get_logits=False):CODE
LOWllmware/models.py5145 def function_call_over_api_endpoint(self, context="", tool_type="", model_name="", params="", prompt="",CODE
LOWllmware/models.py5526 def load_ov_external_tokenizer(self):CODE
LOWllmware/models.py5842 def prompt_engineer_completion (self, query, context, inference_dict=None):CODE
LOWllmware/models.py7978 def cleanup_stream_gen_on_early_stop(self):CODE
LOWllmware/models.py9705 def inference_over_api_endpoint(self, prompt, context=None, inference_dict=None, get_logits=False):CODE
LOWllmware/models.py9767 def function_call_over_api_endpoint(self, context="", tool_type="", model_name="", params="", prompt="",CODE
LOWllmware/models.py10161 def _load_llama_cpp_shared_library(self):CODE
LOWllmware/models.py11063 def function_call_over_api_endpoint(self, context="", tool_type="", model_name="", params="", prompt="",CODE
LOWllmware/models.py11151 def inference_over_api_endpoint(self, prompt, context=None, inference_dict=None, get_logits=False):CODE
LOWllmware/models.py12599 def create_model_catalog_extension(self):CODE
LOWllmware/models.py12738 def prepare_foundry_manager_and_model(self):CODE
LOWllmware/models.py13751 def cleanup_stream_gen_on_early_stop(self):CODE
LOWllmware/models.py14934 def _load_clip_model_for_inference(self, model_repo_path, model_card=None, **kwargs):CODE
222 more matches not shown…
Structural Annotation Overuse104 hits · 215 pts
SeverityFileLineSnippetContext
LOWllmware/models.py1137 # Step 1 - resolve local pathCOMMENT
LOW⚡tests/embeddings/test_install_embeddings.py17 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOW⚡tests/embeddings/test_install_embeddings.py26 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOW⚡tests/embeddings/test_install_embeddings.py32 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOW⚡solutions/embeddings/using_chromadb.py45 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOW⚡solutions/embeddings/using_chromadb.py50 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOW⚡solutions/embeddings/using_chromadb.py56 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOW⚡solutions/embeddings/using_redis.py34 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOW⚡solutions/embeddings/using_redis.py39 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOW⚡solutions/embeddings/using_redis.py45 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOW⚡solutions/embeddings/using_milvus_lite.py28 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOW⚡solutions/embeddings/using_milvus_lite.py37 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOW⚡solutions/embeddings/using_milvus_lite.py43 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOW⚡solutions/embeddings/using_milvus_lite.py121 # Step 1 - create libraryCOMMENT
LOW⚡solutions/embeddings/using_milvus_lite.py124 # Step 2 - Select any embedding model in the LLMWare catalogCOMMENT
LOW⚡solutions/embeddings/using_neo4j.py47 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOW⚡solutions/embeddings/using_neo4j.py52 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOW⚡solutions/embeddings/using_neo4j.py58 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOW⚡solutions/embeddings/using_sentence_transformer.py26 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOW⚡solutions/embeddings/using_sentence_transformer.py31 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOW⚡solutions/embeddings/using_sentence_transformer.py37 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOW⚡solutions/embeddings/using_multiple_vector_db.py34 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOW⚡solutions/embeddings/using_multiple_vector_db.py39 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOW⚡solutions/embeddings/using_multiple_vector_db.py45 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOW⚡solutions/embeddings/using_pg_vector.py46 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOW⚡solutions/embeddings/using_pg_vector.py51 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOW⚡solutions/embeddings/using_pg_vector.py57 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOW⚡solutions/embeddings/using_multiple_embeddings.py39 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOW⚡solutions/embeddings/using_multiple_embeddings.py44 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOW⚡solutions/embeddings/using_multiple_embeddings.py50 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOW⚡solutions/embeddings/using_qdrant.py31 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOW⚡solutions/embeddings/using_qdrant.py36 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOW⚡solutions/embeddings/using_qdrant.py42 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOW⚡solutions/embeddings/docs2vecs_with_milvus-rag.py23 # Step 0 - Configuration - we will use these in Step 4 to install the embeddingsCOMMENT
LOW⚡solutions/embeddings/docs2vecs_with_milvus-rag.py27 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOW⚡solutions/embeddings/docs2vecs_with_milvus-rag.py32 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOW⚡solutions/embeddings/docs2vecs_with_milvus-rag.py39 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOW⚡solutions/embeddings/docs2vecs_with_milvus-rag.py45 # Step 4 - Install the embeddingsCOMMENT
LOW⚡…ons/embeddings/docs2vecs_with_milvus-un_resolutions.py21 # Step 0 - Configuration - we will use these in Step 4 to install the embeddingsCOMMENT
LOW⚡…ons/embeddings/docs2vecs_with_milvus-un_resolutions.py25 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOW⚡…ons/embeddings/docs2vecs_with_milvus-un_resolutions.py30 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOW⚡…ons/embeddings/docs2vecs_with_milvus-un_resolutions.py36 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOW⚡…ons/embeddings/docs2vecs_with_milvus-un_resolutions.py42 # Step 4 - Install the embeddingsCOMMENT
LOW⚡…ons/embeddings/docs2vecs_with_milvus-un_resolutions.py52 # Step 5 - start using the new vector embeddings with QueryCOMMENT
LOW⚡solutions/embeddings/docs2vecs_with_milvus-contracts.py22 # Step 0 - Configuration - we will use these in Step 4 to install the embeddingsCOMMENT
LOW⚡solutions/embeddings/docs2vecs_with_milvus-contracts.py26 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOW⚡solutions/embeddings/docs2vecs_with_milvus-contracts.py31 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOW⚡solutions/embeddings/docs2vecs_with_milvus-contracts.py37 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOW⚡solutions/embeddings/docs2vecs_with_milvus-contracts.py43 # Step 4 - Install the embeddingsCOMMENT
LOW⚡solutions/embeddings/docs2vecs_with_milvus-contracts.py53 # Step 5 - start using the new vector embeddings with QueryCOMMENT
LOWsolutions/gguf/using-custom-gguf-model.py16# Step 1 - register new gguf model - we will pick the popular LLama-2-13B-chat-GGUFCOMMENT
LOWsolutions/gguf/using-custom-gguf-model.py23# Step 2- if the prompt_wrapper is a standard, e.g., Meta's <INST>, then no need to do anything elseCOMMENT
LOWsolutions/gguf/using-ollama-models.py8# Step 1 - register your Ollama models in llmware ModelCatalogCOMMENT
LOWsolutions/gguf/using-ollama-models.py22# Step 2 - start using the Ollama model like any other model in llmwareCOMMENT
LOWsolutions/gguf/using-ollama-models.py66# Step 3 - using the ollama discovery API - optionalCOMMENT
LOWsolutions/models/using-ollama-models.py8# Step 1 - register your Ollama models in llmware ModelCatalogCOMMENT
LOWsolutions/models/using-ollama-models.py22# Step 2 - start using the Ollama model like any other model in llmwareCOMMENT
LOWsolutions/models/using-ollama-models.py66# Step 3 - using the ollama discovery API - optionalCOMMENT
LOW⚡solutions/rag/example-2-build_embeddings.py56 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOW⚡solutions/rag/example-2-build_embeddings.py65 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
44 more matches not shown…
Deep Nesting167 hits · 115 pts
SeverityFileLineSnippetContext
LOWllmware/configs.py403CODE
LOWllmware/models.py257CODE
LOWllmware/models.py993CODE
LOWllmware/models.py1119CODE
LOWllmware/models.py1276CODE
LOWllmware/models.py1547CODE
LOWllmware/models.py1659CODE
LOWllmware/models.py1770CODE
LOWllmware/models.py1997CODE
LOWllmware/models.py2198CODE
LOWllmware/models.py2322CODE
LOWllmware/models.py2444CODE
LOWllmware/models.py2487CODE
LOWllmware/models.py2579CODE
LOWllmware/models.py2836CODE
LOWllmware/models.py3076CODE
LOWllmware/models.py4088CODE
LOWllmware/models.py4321CODE
LOWllmware/models.py5227CODE
LOWllmware/models.py5455CODE
LOWllmware/models.py5870CODE
LOWllmware/models.py6451CODE
LOWllmware/models.py6631CODE
LOWllmware/models.py8769CODE
LOWllmware/models.py9345CODE
LOWllmware/models.py10161CODE
LOWllmware/models.py10802CODE
LOWllmware/models.py11332CODE
LOWllmware/models.py11758CODE
LOWllmware/models.py11974CODE
LOWllmware/models.py12056CODE
LOWllmware/models.py12116CODE
LOWllmware/models.py12175CODE
LOWllmware/models.py12571CODE
LOWllmware/models.py12599CODE
LOWllmware/models.py13293CODE
LOWllmware/models.py13839CODE
LOWllmware/models.py13873CODE
LOWllmware/models.py13915CODE
LOWllmware/models.py14060CODE
LOWllmware/models.py14089CODE
LOWllmware/models.py15060CODE
LOWllmware/models.py15230CODE
LOWllmware/models.py15408CODE
LOWllmware/util.py242CODE
LOWllmware/util.py578CODE
LOWllmware/util.py641CODE
LOWllmware/util.py689CODE
LOWllmware/util.py775CODE
LOWllmware/util.py851CODE
LOWllmware/util.py953CODE
LOWllmware/util.py999CODE
LOWllmware/util.py1043CODE
LOWllmware/util.py1294CODE
LOWllmware/util.py1464CODE
LOWllmware/util.py1508CODE
LOWllmware/util.py1920CODE
LOWllmware/util.py1990CODE
LOWllmware/web_services.py191CODE
LOWllmware/web_services.py480CODE
107 more matches not shown…
Self-Referential Comments22 hits · 70 pts
SeverityFileLineSnippetContext
MEDIUMllmware/embeddings.py940 # Creating an index will accelerate the search process and it needs to be done once table has some vectors aCOMMENT
MEDIUMtests/models/test_agent_llmfx_process.py9 # Create an agent using LLMfx classCOMMENT
MEDIUMtests/models/test_cohere_command_r_model.py13 # Define a simple prompt for testingCOMMENT
MEDIUMsolutions/embeddings/using_mongo_atlas.py30 # Create a library and populate it with some sample documentsCOMMENT
MEDIUMsolutions/gguf/huggingface_integration.py139 # Create a library and add some documents so we can do some vector embeddingsCOMMENT
MEDIUMsolutions/gguf/huggingface_integration.py172 # Create a library and add some documents so we can do some vector embeddingsCOMMENT
MEDIUMsolutions/gguf/cohere_command_r_example.py13 # Define a prompt for inferenceCOMMENT
MEDIUMsolutions/models/huggingface_integration.py139 # Create a library and add some documents so we can do some vector embeddingsCOMMENT
MEDIUMsolutions/models/huggingface_integration.py172 # Create a library and add some documents so we can do some vector embeddingsCOMMENT
MEDIUMsolutions/models/prompt_state.py11 # Create a new prompter with state persistenceCOMMENT
MEDIUMsolutions/models/prompt_state.py20 # Define a list of promptsCOMMENT
MEDIUMsolutions/models/cohere_command_r_example.py13 # Define a prompt for inferenceCOMMENT
MEDIUM⚡solutions/sources/semantic_retrieval.py39 # Create a Query instanceCOMMENT
MEDIUMsolutions/sources/bulk_retrieval.py28 # Create a Query instanceCOMMENT
MEDIUMsolutions/sources/bulk_retrieval.py31 # Create a list of keys of interest. This can be omitted if you want all keysCOMMENT
MEDIUMsolutions/sources/query_state.py29 # Create a Query instance with history persistenceCOMMENT
MEDIUM⚡solutions/sources/text_retrieval.py29 # Create a Query instanceCOMMENT
MEDIUMsolutions/sources/bibliography.py28 # Create a Query instanceCOMMENT
MEDIUM⚡solutions/sources/dual_pass_with_custom_filter.py19 # Create a new library or load if it existsCOMMENT
MEDIUMsolutions/use_cases/lecture_tool/pages/4_Summarizer.py65 # Create a list of only the unique points generated by the modelCOMMENT
MEDIUMsolutions/slim_agents/youtube_topics_extraction.py21 # Create a LLMfx objectCOMMENT
MEDIUMtutorials/getting_started/working_with_libraries.py47 # Create a libraryCOMMENT
Empty Error Handlers14 hits · 70 pts
SeverityFileLineSnippetContext
HIGHllmware/models.py8453except:CODE
HIGHllmware/models.py8650except:CODE
HIGHllmware/models.py2388except:CODE
HIGHllmware/util.py1620except:CODE
HIGHllmware/util.py1942except:CODE
HIGHllmware/prompts.py1776except:CODE
HIGHllmware/embeddings.py2525except neo4j.DatabaseError: # Index did not exist yetCODE
HIGHllmware/retrieval.py31except:CODE
HIGHllmware/resources.py35except ImportError:CODE
HIGHllmware/resources.py43except ImportError:CODE
HIGHllmware/resources.py52except ImportError:CODE
HIGHllmware/resources.py57except ImportError:CODE
HIGHsolutions/openvino/using_openvino_streamer.py20except:CODE
HIGHsolutions/openvino/using-openvino-vision-models.py19except:CODE
Excessive Try-Catch Wrapping45 hits · 46 pts
SeverityFileLineSnippetContext
LOWllmware/models.py2358 except Exception as e:CODE
LOWllmware/models.py6010 except Exception as e:CODE
LOWllmware/models.py6295 except Exception as e:CODE
LOWllmware/models.py6610 except Exception as e:CODE
LOWllmware/models.py6789 except Exception as e:CODE
LOWllmware/models.py7016 except Exception as e:CODE
LOWllmware/models.py7114 except Exception as e:CODE
LOWllmware/models.py7338 except Exception as e:CODE
LOWllmware/models.py7458 except Exception as e:CODE
LOWllmware/models.py7835 except Exception as e:CODE
LOWllmware/models.py10276 except Exception as e:CODE
LOWllmware/models.py11425 except Exception as e:CODE
LOWllmware/models.py13598 except Exception as e:CODE
LOWllmware/models.py13643 except Exception as e:CODE
LOWllmware/models.py13715 except Exception as e:CODE
LOWllmware/models.py14373 except Exception as e:CODE
LOWllmware/models.py15165 except Exception as e:CODE
LOWllmware/models.py15341 except Exception as e:CODE
LOWllmware/web_services.py452 except Exception as e:CODE
LOWllmware/web_services.py1176 except Exception as e:CODE
LOWllmware/web_services.py1205 except Exception as e:CODE
LOWllmware/web_services.py1233 except Exception as e:CODE
LOWllmware/web_services.py1274 except Exception as e:CODE
LOWllmware/web_services.py1316 except Exception as e:CODE
LOWllmware/web_services.py1351 except Exception as e:CODE
MEDIUMllmware/web_services.py357def __init__(self, url_or_fp, link="/", save_images=True, reset_img_folder=FalseCODE
LOWllmware/parsers.py624 except Exception as e:CODE
LOWllmware/embeddings.py1034 except Exception as e:CODE
LOWllmware/embeddings.py2383 except Exception as err:CODE
MEDIUMllmware/embeddings.py1019def search_index(self, query_embedding_vector, sample_count=10):CODE
LOWtests/run-tests.py24 except Exception as e:CODE
LOWtests/run-tests.py41 except Exception as e:CODE
LOWtests/run-tests.py54 except Exception as e:CODE
LOWtests/run-tests.py64 except Exception as e:CODE
LOWtests/run-tests.py85 except Exception as e:CODE
LOWtests/run-tests.py100 except Exception as e:CODE
LOWtests/models/test_prompt_benchmark_test.py46 except Exception as e:CODE
LOWtests/models/test_prompt_benchmark_test.py102 except Exception as e:CODE
LOW⚡solutions/gguf/chat_models_gguf_fast_start.py26 except Exception as e:CODE
LOW⚡solutions/gguf/chat_models_gguf_fast_start.py36 except Exception as e:CODE
LOW⚡solutions/models/chat_models_gguf_fast_start.py26 except Exception as e:CODE
LOW⚡solutions/models/chat_models_gguf_fast_start.py36 except Exception as e:CODE
MEDIUM⚡solutions/sources/dual_pass_with_custom_filter.py24 print(f"Error: Failed to create or load library '{library_name}'")CODE
MEDIUM⚡solutions/sources/dual_pass_with_custom_filter.py30 print(f"Error: Input folder path '{input_folder_path}' does not exist.")CODE
MEDIUM⚡solutions/sources/dual_pass_with_custom_filter.py40 print(f"Error: Embedding generation failed for model '{embedding_model}' with vector db '{vector_db}'")CODE
AI Structural Patterns69 hits · 42 pts
SeverityFileLineSnippetContext
LOWllmware/library.py516CODE
LOWllmware/library.py783CODE
LOWllmware/library.py1208CODE
LOWllmware/library.py1231CODE
LOWllmware/library.py1254CODE
LOWllmware/models.py880CODE
LOWllmware/models.py1036CODE
LOWllmware/models.py1659CODE
LOWllmware/models.py3076CODE
LOWllmware/models.py4003CODE
LOWllmware/models.py4088CODE
LOWllmware/models.py5145CODE
LOWllmware/models.py5227CODE
LOWllmware/models.py6182CODE
LOWllmware/models.py7499CODE
LOWllmware/models.py8372CODE
LOWllmware/models.py8569CODE
LOWllmware/models.py8769CODE
LOWllmware/models.py9767CODE
LOWllmware/models.py9850CODE
LOWllmware/models.py11063CODE
LOWllmware/models.py11658CODE
LOWllmware/models.py13111CODE
LOWllmware/models.py13418CODE
LOWllmware/models.py13685CODE
LOWllmware/models.py14181CODE
LOWllmware/models.py14686CODE
LOWllmware/models.py16215CODE
LOWllmware/web_services.py1249CODE
LOWllmware/parsers.py62CODE
LOWllmware/parsers.py1198CODE
LOWllmware/parsers.py3059CODE
LOWllmware/parsers.py3325CODE
LOWllmware/parsers.py3459CODE
LOWllmware/parsers.py4337CODE
LOWllmware/prompts.py103CODE
LOWllmware/prompts.py216CODE
LOWllmware/prompts.py690CODE
LOWllmware/prompts.py697CODE
LOWllmware/prompts.py711CODE
LOWllmware/prompts.py720CODE
LOWllmware/prompts.py731CODE
LOWllmware/prompts.py746CODE
LOWllmware/prompts.py760CODE
LOWllmware/prompts.py773CODE
LOWllmware/prompts.py1245CODE
LOWllmware/prompts.py1253CODE
LOWllmware/prompts.py1261CODE
LOWllmware/prompts.py1962CODE
LOWllmware/prompts.py1971CODE
LOWllmware/agents.py1370CODE
LOWllmware/retrieval.py116CODE
LOWllmware/retrieval.py1684CODE
LOWllmware/retrieval.py1719CODE
LOWllmware/retrieval.py1741CODE
LOWllmware/retrieval.py1748CODE
LOWllmware/resources.py808CODE
LOWllmware/resources.py3559CODE
LOWllmware/resources.py3659CODE
LOWllmware/resources.py3704CODE
9 more matches not shown…
AI Slop Vocabulary13 hits · 34 pts
SeverityFileLineSnippetContext
MEDIUMllmware/models.py9131 # explicit check and setting to facilitate debuggingCOMMENT
MEDIUMllmware/models.py9164 # explicit check and setting to facilitate debugging, if neededCOMMENT
MEDIUMllmware/models.py9187 # explicit check and setting to facilitate debugging, if neededCOMMENT
MEDIUMllmware/models.py9471 # explicit check and setting to facilitate debuggingCOMMENT
MEDIUMllmware/models.py9504 # explicit check and setting to facilitate debugging, if neededCOMMENT
MEDIUMllmware/models.py9522 # explicit check and setting to facilitate debugging, if neededCOMMENT
LOWllmware/web_services.py850 # this is an external link - just use the sourceCOMMENT
MEDIUMllmware/prompts.py568 # this method is intended to be used in conjunction with sources as follows:COMMENT
MEDIUMllmware/agents.py1585 #TODO: build more robust type checking, e.g., float/decimal/currencyCOMMENT
LOWllmware/embeddings.py1444 # if wait longer than 5 mins, then time out and just returnCOMMENT
MEDIUMsolutions/onnxruntime/adding_openvino_or_onnx_model.py65# or if using in conjunction with building a RAG promptCOMMENT
MEDIUMsolutions/openvino/adding_openvino_or_onnx_model.py65# or if using in conjunction with building a RAG promptCOMMENT
LOWsolutions/slim_agents/agents-1-start_here.py62# Discovering other models is easy -> to invoke a model, simply use the 'model_name' and pass in .load_model()COMMENT
Unused Imports34 hits · 33 pts
SeverityFileLineSnippetContext
LOWsetup.py3CODE
LOWsetup.py4CODE
LOWsetup.py6CODE
LOWsetup.py7CODE
LOWsetup.py7CODE
LOWllmware/models.py18CODE
LOWllmware/models.py32CODE
LOWllmware/util.py31CODE
LOWllmware/web_services.py364CODE
LOWllmware/parsers.py48CODE
LOWllmware/gguf_configs.py36CODE
LOWtests/run-tests.py48CODE
LOWtests/embeddings/test_all_embedding_dbs.py6CODE
LOWtests/embeddings/test_all_embedding_dbs.py14CODE
LOWtests/embeddings/test_all_embedding_dbs.py15CODE
LOWtests/library/test_library.py11CODE
LOWtests/models/test_prompt_benchmark_test.py14CODE
LOWtests/models/test_hf_model_load_prompt.py3CODE
LOWtests/configs/test_account_overrides.py11CODE
LOWsolutions/gguf/huggingface_integration.py17CODE
LOWsolutions/gguf/using_gguf.py3CODE
LOWsolutions/models/huggingface_integration.py17CODE
LOWsolutions/models/prompt_with_sources.py10CODE
LOWsolutions/rag/example-5-rag-semantic-query.py36CODE
LOWsolutions/sources/parse_images.py9CODE
LOWsolutions/sources/parse_images.py9CODE
LOWsolutions/sources/parse_images.py10CODE
LOWsolutions/sources/parse_web_sources_in_memory.py16CODE
LOWsolutions/use_cases/agent_with_custom_tables.py27CODE
LOWsolutions/use_cases/agent_with_custom_tables.py31CODE
LOW…tions/slim_agents/document_unique_topics_extraction.py8CODE
LOW…ns/slim_agents/agents-5-agent-llmfx-getting-started.py12CODE
LOWsolutions/slim_agents/agent-llmfx-getting-started.py12CODE
LOWsolutions/slim_agents/youtube_topics_extraction.py8CODE
Over-Commented Block28 hits · 28 pts
SeverityFileLineSnippetContext
LOWllmware/parsers.py741 # char * input_fpCOMMENT
LOWllmware/parsers.py1021 # if any issue loading module, will be captured at .get_module_office_parser()COMMENT
LOWllmware/parsers.py1041 # int unique_doc_numCOMMENT
LOWllmware/parsers.py2421 # char * write_to_filenameCOMMENT
LOWllmware/parsers.py2601 # char * input_filenameCOMMENT
LOWllmware/parsers.py3601 # char * input_account_nameCOMMENT
LOWllmware/parsers.py3801 # char * input_account_nameCOMMENT
LOWtests/set-env.sh1# LLM API KEYS COMMENT
LOWtests/set-env.sh21#export NEO4J_PASSWORD=<an alternative Neo4j password>COMMENT
LOWtests/embeddings/test_all_embedding_dbs.py81 sample_files_path = Setup().load_sample_files()COMMENT
LOWsolutions/embeddings/using_multiple_vector_db.py101COMMENT
LOWsolutions/embeddings/using_multiple_embeddings.py101 print("\nupdate: Embedding record of the Library")COMMENT
LOWsolutions/gguf/using-llama-3.py1COMMENT
LOWsolutions/models/set_model_api_keys.py21COMMENT
LOWsolutions/models/using-llama-3.py1COMMENT
LOWsolutions/rag/example-2-build_embeddings.py161 # alternatively, to use this example as self-contained, then create a new library from scratch:COMMENT
LOWsolutions/sources/parse_jsonl_custom.py41# All three text databases supported (mongo, postgres, and sqlite)COMMENT
LOWsolutions/sources/pdf_parser_new_configs.py21# Measured in string len characters, e.g., 400 characters as target text chunk size, with max of 600 charactersCOMMENT
LOWsolutions/sources/pdf_parser_new_configs.py41# ENCODINGCOMMENT
LOWsolutions/sources/pdf_parser_new_configs.py61lib.add_files(input_folder_path=fp, strip_header=True)COMMENT
LOWsolutions/sources/parse_csv_custom.py101 # if "doc_ID" or "block_ID" mapping provided, then will "over-write" the default doc_ID and block_ID andCOMMENT
LOWsolutions/sources/office_parser_new_configs.py21COMMENT
LOWsolutions/sources/office_parser_new_configs.py61COMMENT
LOWsolutions/use_cases/lecture_tool/pages/3_Prompts.py41COMMENT
LOWsolutions/slim_agents/agents-1-start_here.py141COMMENT
LOWdocs/components/model_catalog.md161# Add a LM Studio ModelCOMMENT
LOWscripts/aws/launch-llmware-ami.sh1#! /bin/bashCOMMENT
LOWtutorials/getting_started/loading_sample_files.py21COMMENT
Decorative Section Separators6 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUM⚡solutions/openvino/README.md114 # ---------------------------COMMENT
MEDIUM⚡solutions/openvino/README.md116 # ---------------------------COMMENT
MEDIUM⚡solutions/openvino/README.md124 # ---------------------------COMMENT
MEDIUM⚡solutions/openvino/README.md126 # ---------------------------COMMENT
MEDIUM⚡solutions/openvino/README.md134 # ---------------------------COMMENT
MEDIUM⚡solutions/openvino/README.md136 # ---------------------------COMMENT
Redundant / Tautological Comments14 hits · 21 pts
SeverityFileLineSnippetContext
LOWllmware/models.py14972 # Check if vision is supportedCOMMENT
LOWllmware/models.py15214 # Check if vision is supportedCOMMENT
LOWtests/models/test_prompt_benchmark_test.py71 # Print resultsCOMMENT
LOW…lutions/gguf/dragon_rag_benchmark_tests_huggingface.py88 # Print resultsCOMMENT
LOWsolutions/gguf/dragon_rag_benchmark_tests_llmware.py54 # Print resultsCOMMENT
LOWsolutions/gguf/using-custom-gguf-model.py46 # Print resultsCOMMENT
LOW⚡solutions/gguf/chat_models_gguf_fast_start.py40 # Print resultsCOMMENT
LOWsolutions/gguf/dragon_gguf_fast_start.py54 # Print resultsCOMMENT
LOWsolutions/gguf/llmware_model_fast_start.py148 # Print resultsCOMMENT
LOW…tions/models/dragon_rag_benchmark_tests_huggingface.py88 # Print resultsCOMMENT
LOWsolutions/models/dragon_rag_benchmark_tests_llmware.py54 # Print resultsCOMMENT
LOW⚡solutions/models/chat_models_gguf_fast_start.py40 # Print resultsCOMMENT
LOWsolutions/models/dragon_gguf_fast_start.py54 # Print resultsCOMMENT
LOWsolutions/models/llmware_model_fast_start.py148 # Print resultsCOMMENT
Slop Phrases8 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUMsolutions/gguf/adjusting_sampling_settings.py22# -- temperature: range between 0.0 - 1.0 (for GGUF models, you can also try setting to negative)COMMENT
LOWsolutions/gguf/using-azure-openai.py20# Make sure to replace the deployment names with your deployments in theCOMMENT
MEDIUMsolutions/gguf/using-azure-openai.py67# reset so you can use the standard OpenAI clientCOMMENT
MEDIUMsolutions/openvino/using_openvino_streamer.py31# here is a simple example that will stream the text to local hostCOMMENT
MEDIUMsolutions/openvino/using-openvino-vision-models.py30# here is a simple example that will stream the text to local hostCOMMENT
MEDIUMsolutions/models/adjusting_sampling_settings.py22# -- temperature: range between 0.0 - 1.0 (for GGUF models, you can also try setting to negative)COMMENT
LOWsolutions/models/using-azure-openai.py20# Make sure to replace the deployment names with your deployments in theCOMMENT
MEDIUMsolutions/models/using-azure-openai.py67# reset so you can use the standard OpenAI clientCOMMENT
Modern Structural Boilerplate13 hits · 12 pts
SeverityFileLineSnippetContext
LOWllmware/library.py35logger = logging.getLogger(__name__)CODE
LOWllmware/models.py60logger = logging.getLogger(__name__)CODE
LOWllmware/models.py14006 def set_request_tensor(self, request, tensor, key=None) -> None:CODE
LOWllmware/models.py14020 def update_tensor(self, inputs: Any, request, key=None) -> None:CODE
LOWllmware/util.py48logger = logging.getLogger(__name__)CODE
LOWllmware/web_services.py27logger = logging.getLogger(__name__)CODE
LOWllmware/parsers.py56logger = logging.getLogger(__name__)CODE
LOWllmware/prompts.py40logger = logging.getLogger(__name__)CODE
LOWllmware/agents.py39logger = logging.getLogger(__name__)CODE
LOWllmware/setup.py32logger = logging.getLogger(__name__)CODE
LOWllmware/embeddings.py73logger = logging.getLogger(__name__)CODE
LOWllmware/retrieval.py40logger = logging.getLogger(__name__)CODE
LOWllmware/resources.py60logger = logging.getLogger(__name__)CODE
Cross-Language Confusion1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHllmware/retrieval.py1516 # edge case - but return empty match if query is nullCOMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWllmware/resources.py4103 # TODO: implement cursor option - see DBCursor class for more details.COMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtests/models/test_prompt_benchmark_test.py121# Example usageCOMMENT