Repository Analysis

llmware-ai/llmware

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

19.6 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of llmware-ai/llmware, a Python project with 14,814 GitHub stars. SynthScan v2.0 examined 82,826 lines of code across 322 source files, recording 995 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 19.6 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

19.6
Adjusted Score
19.6
Raw Score
100%
Time Factor
2026-05-17
Last Push
14.8K
Stars
Python
Language
82.8K
Lines of Code
322
Files
995
Pattern Hits
2026-07-14
Scan Date
0.23
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 74MEDIUM 159LOW 762

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 995 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

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 · 322 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.py10414 # stop if combined input + output at context window sizeCOMMENT
MEDIUMllmware/models.py11051 # stop if combined input + output at context window sizeCOMMENT
MEDIUMllmware/models.py14211 # default for HF embedding model -> will be over-ridden by model card / configs, if availableCOMMENT
MEDIUMllmware/models.py14261 # option to set smaller size than model context windowCOMMENT
MEDIUMllmware/models.py15610 # stop if combined input + output at context window sizeCOMMENT
MEDIUMllmware/models.py16080 # stop if combined input + output at context window sizeCOMMENT
MEDIUMllmware/models.py16192 # 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
MEDIUMsolutions/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
MEDIUMsolutions/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 Identifiers281 hits · 252 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
LOWllmware/configs.py1143 def get_auth_credentials_provider(cls):CODE
LOWllmware/configs.py1147 def get_auth_credentials_file(cls):CODE
LOWllmware/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
LOWllmware/models.py2699 def get_global_inference_count(cls):CODE
LOWllmware/models.py2703 def increment_global_inference_count(cls):CODE
LOWllmware/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.py10177 def _load_llama_cpp_shared_library(self):CODE
LOWllmware/models.py11074 def function_call_over_api_endpoint(self, context="", tool_type="", model_name="", params="", prompt="",CODE
LOWllmware/models.py11162 def inference_over_api_endpoint(self, prompt, context=None, inference_dict=None, get_logits=False):CODE
LOWllmware/models.py12610 def create_model_catalog_extension(self):CODE
LOWllmware/models.py12749 def prepare_foundry_manager_and_model(self):CODE
LOWllmware/models.py13762 def cleanup_stream_gen_on_early_stop(self):CODE
LOWllmware/models.py14945 def _load_clip_model_for_inference(self, model_repo_path, model_card=None, **kwargs):CODE
221 more matches not shown…
Structural Annotation Overuse104 hits · 215 pts
SeverityFileLineSnippetContext
LOWllmware/models.py1137 # Step 1 - resolve local pathCOMMENT
LOWtests/embeddings/test_install_embeddings.py17 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOWtests/embeddings/test_install_embeddings.py26 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOWtests/embeddings/test_install_embeddings.py32 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOWsolutions/embeddings/using_chromadb.py45 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOWsolutions/embeddings/using_chromadb.py50 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOWsolutions/embeddings/using_chromadb.py56 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOWsolutions/embeddings/using_redis.py34 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOWsolutions/embeddings/using_redis.py39 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOWsolutions/embeddings/using_redis.py45 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOWsolutions/embeddings/using_milvus_lite.py28 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOWsolutions/embeddings/using_milvus_lite.py37 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOWsolutions/embeddings/using_milvus_lite.py43 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOWsolutions/embeddings/using_milvus_lite.py121 # Step 1 - create libraryCOMMENT
LOWsolutions/embeddings/using_milvus_lite.py124 # Step 2 - Select any embedding model in the LLMWare catalogCOMMENT
LOWsolutions/embeddings/using_neo4j.py47 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOWsolutions/embeddings/using_neo4j.py52 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOWsolutions/embeddings/using_neo4j.py58 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOWsolutions/embeddings/using_sentence_transformer.py26 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOWsolutions/embeddings/using_sentence_transformer.py31 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOWsolutions/embeddings/using_sentence_transformer.py37 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOWsolutions/embeddings/using_multiple_vector_db.py34 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOWsolutions/embeddings/using_multiple_vector_db.py39 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOWsolutions/embeddings/using_multiple_vector_db.py45 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOWsolutions/embeddings/using_pg_vector.py46 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOWsolutions/embeddings/using_pg_vector.py51 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOWsolutions/embeddings/using_pg_vector.py57 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOWsolutions/embeddings/using_multiple_embeddings.py39 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOWsolutions/embeddings/using_multiple_embeddings.py44 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOWsolutions/embeddings/using_multiple_embeddings.py50 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOWsolutions/embeddings/using_qdrant.py31 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOWsolutions/embeddings/using_qdrant.py36 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOWsolutions/embeddings/using_qdrant.py42 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOWsolutions/embeddings/docs2vecs_with_milvus-rag.py23 # Step 0 - Configuration - we will use these in Step 4 to install the embeddingsCOMMENT
LOWsolutions/embeddings/docs2vecs_with_milvus-rag.py27 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOWsolutions/embeddings/docs2vecs_with_milvus-rag.py32 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOWsolutions/embeddings/docs2vecs_with_milvus-rag.py39 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOWsolutions/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
LOWsolutions/embeddings/docs2vecs_with_milvus-contracts.py22 # Step 0 - Configuration - we will use these in Step 4 to install the embeddingsCOMMENT
LOWsolutions/embeddings/docs2vecs_with_milvus-contracts.py26 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOWsolutions/embeddings/docs2vecs_with_milvus-contracts.py31 # Step 2 - Pull down the sample files from S3 through the .load_sample_files() commandCOMMENT
LOWsolutions/embeddings/docs2vecs_with_milvus-contracts.py37 # Step 3 - point ".add_files" method to the folder of documents that was just createdCOMMENT
LOWsolutions/embeddings/docs2vecs_with_milvus-contracts.py43 # Step 4 - Install the embeddingsCOMMENT
LOWsolutions/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
LOWsolutions/rag/example-2-build_embeddings.py56 # Step 1 - Create library which is the main 'organizing construct' in llmwareCOMMENT
LOWsolutions/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 · 116 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.py10177CODE
LOWllmware/models.py10813CODE
LOWllmware/models.py11343CODE
LOWllmware/models.py11769CODE
LOWllmware/models.py11985CODE
LOWllmware/models.py12067CODE
LOWllmware/models.py12127CODE
LOWllmware/models.py12186CODE
LOWllmware/models.py12582CODE
LOWllmware/models.py12610CODE
LOWllmware/models.py13304CODE
LOWllmware/models.py13850CODE
LOWllmware/models.py13884CODE
LOWllmware/models.py13926CODE
LOWllmware/models.py14071CODE
LOWllmware/models.py14100CODE
LOWllmware/models.py15071CODE
LOWllmware/models.py15240CODE
LOWllmware/models.py15407CODE
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
MEDIUMsolutions/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
MEDIUMsolutions/sources/text_retrieval.py29 # Create a Query instanceCOMMENT
MEDIUMsolutions/sources/bibliography.py28 # Create a Query instanceCOMMENT
MEDIUMsolutions/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
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.py10282 except Exception as e:CODE
LOWllmware/models.py11436 except Exception as e:CODE
LOWllmware/models.py13609 except Exception as e:CODE
LOWllmware/models.py13654 except Exception as e:CODE
LOWllmware/models.py13726 except Exception as e:CODE
LOWllmware/models.py14384 except Exception as e:CODE
LOWllmware/models.py15176 except Exception as e:CODE
LOWllmware/models.py15351 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
LOWsolutions/gguf/chat_models_gguf_fast_start.py26 except Exception as e:CODE
LOWsolutions/gguf/chat_models_gguf_fast_start.py36 except Exception as e:CODE
LOWsolutions/models/chat_models_gguf_fast_start.py26 except Exception as e:CODE
LOWsolutions/models/chat_models_gguf_fast_start.py36 except Exception as e:CODE
MEDIUMsolutions/sources/dual_pass_with_custom_filter.py24 print(f"Error: Failed to create or load library '{library_name}'")CODE
MEDIUMsolutions/sources/dual_pass_with_custom_filter.py30 print(f"Error: Input folder path '{input_folder_path}' does not exist.")CODE
MEDIUMsolutions/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.py11074CODE
LOWllmware/models.py11669CODE
LOWllmware/models.py13122CODE
LOWllmware/models.py13429CODE
LOWllmware/models.py13696CODE
LOWllmware/models.py14192CODE
LOWllmware/models.py14697CODE
LOWllmware/models.py16212CODE
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…
Unused Imports37 hits · 36 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.py29CODE
LOWllmware/gguf_configs.py30CODE
LOWllmware/gguf_configs.py32CODE
LOWllmware/gguf_configs.py32CODE
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
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
Over-Commented Block29 hits · 28 pts
SeverityFileLineSnippetContext
LOWllmware/models.py11321COMMENT
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
MEDIUMsolutions/openvino/README.md114 # ---------------------------COMMENT
MEDIUMsolutions/openvino/README.md116 # ---------------------------COMMENT
MEDIUMsolutions/openvino/README.md124 # ---------------------------COMMENT
MEDIUMsolutions/openvino/README.md126 # ---------------------------COMMENT
MEDIUMsolutions/openvino/README.md134 # ---------------------------COMMENT
MEDIUMsolutions/openvino/README.md136 # ---------------------------COMMENT
Redundant / Tautological Comments14 hits · 21 pts
SeverityFileLineSnippetContext
LOWllmware/models.py14983 # Check if vision is supportedCOMMENT
LOWllmware/models.py15224 # 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
LOWsolutions/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
LOWsolutions/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 Boilerplate14 hits · 12 pts
SeverityFileLineSnippetContext
LOWllmware/library.py35logger = logging.getLogger(__name__)CODE
LOWllmware/models.py60logger = logging.getLogger(__name__)CODE
LOWllmware/models.py14017 def set_request_tensor(self, request, tensor, key=None) -> None:CODE
LOWllmware/models.py14031 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
LOWllmware/gguf_configs.py34logger = 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