🔍 Code Extractor

Search Components

Full-Text: Fast keyword matching | Semantic: AI-powered understanding of intent (finds similar concepts)

Search Results for "models"

Found 50 matching component(s)

  • class RegulatoryExtractor

    A class for extracting structured metadata from regulatory guideline PDF documents using LLM-based analysis and storing the results in an Excel tracking spreadsheet.

    File: /tf/active/vicechatdev/reg_extractor.py

    pdf-extraction regulatory-documents llm-extraction ocr data-extraction
  • class MyEmbeddingFunction_v1

    A custom embedding function class that generates embeddings for documents using OpenAI's API, with built-in text summarization for long documents and token management.

    File: /tf/active/vicechatdev/OneCo_hybrid_RAG copy.py

    embeddings openai chromadb vector-database text-summarization
  • class SimpleChatMemory

    A simple chat memory manager that stores and retrieves conversation history between users and assistants with configurable history limits.

    File: /tf/active/vicechatdev/OneCo_hybrid_RAG copy.py

    chat memory conversation history chatbot
  • function get_document

    Retrieves comprehensive details of a controlled document by its UID, with optional inclusion of version history, review cycles, and approval cycles.

    File: /tf/active/vicechatdev/document_controller_backup.py

    document-management controlled-documents retrieval version-control review-workflow
  • function create_document_v3

    Creates a new controlled document in a document management system with specified properties, type, department, and status.

    File: /tf/active/vicechatdev/document_controller_backup.py

    document-management controlled-documents document-creation CDocs workflow
  • class MyEmbeddingFunction_v2

    A custom embedding function class that generates embeddings for text documents using OpenAI's embedding models, with automatic text summarization and token management for large documents.

    File: /tf/active/vicechatdev/offline_docstore_multi_vice.py

    embeddings openai chromadb text-processing summarization
  • class DocumentDetail_v1

    Document detail view component

    File: /tf/active/vicechatdev/document_detail_old.py

    class documentdetail
  • class MeetingMinutesGenerator_v1

    A class that generates professional meeting minutes from meeting transcripts using either OpenAI's GPT-4o or Google's Gemini AI models.

    File: /tf/active/vicechatdev/advanced_meeting_minutes_generator.py

    meeting-minutes transcript-processing llm gpt-4o gemini
  • function main_v16

    Command-line interface function that orchestrates the generation of meeting minutes from a transcript file using either GPT-4o or Gemini LLM models.

    File: /tf/active/vicechatdev/advanced_meeting_minutes_generator.py

    cli command-line meeting-minutes transcript-processing llm
  • class MyEmbeddingFunction

    Custom embedding function class that integrates OpenAI's embedding API with Chroma DB for generating vector embeddings from text documents.

    File: /tf/active/vicechatdev/project_victoria_disclosure_generator.py

    embeddings openai chroma vector-database nlp
  • class MyEmbeddingFunction_v3

    A custom embedding function class that generates embeddings for text documents using OpenAI's embedding models, with automatic text summarization and token limit handling for large documents.

    File: /tf/active/vicechatdev/offline_docstore_multi.py

    embeddings openai vector-database chromadb text-processing
  • function test_web_ui

    Integration test function that validates a Flask web UI for meeting minutes generation by testing file upload, generation, and regeneration endpoints with sample transcript and PowerPoint files.

    File: /tf/active/vicechatdev/leexi/test_ui.py

    testing integration-test web-ui flask api-testing
  • function main_v2

    Command-line interface function that orchestrates the generation of enhanced meeting minutes from transcript files and PowerPoint presentations using various LLM models (GPT-4o, Azure GPT-4o, or Gemini).

    File: /tf/active/vicechatdev/leexi/enhanced_meeting_minutes_generator.py

    cli command-line meeting-minutes llm gpt-4
  • function update_session_settings

    Updates the settings (model, mode, options) for an existing chat session and persists the changes to disk.

    File: /tf/active/vicechatdev/docchat/app.py

    session-management settings persistence thread-safe chat
  • function api_get_models

    Flask API endpoint that returns a list of available LLM models and the default model configuration.

    File: /tf/active/vicechatdev/docchat/app.py

    api flask rest-api llm configuration
  • function check_configuration

    A comprehensive configuration verification function that checks and displays the status of all DocChat system settings, including API keys, models, ChromaDB connection, directories, and LLM initialization.

    File: /tf/active/vicechatdev/docchat/verify_setup.py

    configuration verification diagnostics setup validation
  • function get_available_models

    Flask API endpoint that returns a JSON response containing the list of available LLM models and the default model configured in the application.

    File: /tf/active/vicechatdev/docchat/blueprint.py

    api endpoint flask llm models
  • function test_config

    A test function that validates the presence and correctness of all required configuration settings for a multi-model RAG (Retrieval-Augmented Generation) system.

    File: /tf/active/vicechatdev/docchat/test_model_selection.py

    testing validation configuration unit-test assertion
  • function test_rag_engine

    A test function that validates the RAG engine's ability to correctly instantiate different LLM models (OpenAI, Anthropic, Gemini) based on configuration settings.

    File: /tf/active/vicechatdev/docchat/test_model_selection.py

    testing rag llm model-switching validation
  • function test_flask_routes

    A test function that validates Flask application routes are properly configured by checking for required endpoints.

    File: /tf/active/vicechatdev/docchat/test_model_selection.py

    testing flask routes validation web-application
  • function test_api_models_endpoint

    A unit test function that validates the structure and content of the /api/models endpoint response, ensuring it contains the correct model configuration data.

    File: /tf/active/vicechatdev/docchat/test_model_selection.py

    testing unit-test api-validation endpoint-testing configuration-validation
  • function main_v40

    Test orchestration function that executes a comprehensive test suite for DocChat's multi-LLM model selection feature and reports results.

    File: /tf/active/vicechatdev/docchat/test_model_selection.py

    testing integration-tests test-orchestration multi-llm test-runner
  • class LLMMessage

    A simple dataclass that represents a message for Large Language Model (LLM) interactions, containing only the message content as a string.

    File: /tf/active/vicechatdev/docchat/llm_factory.py

    dataclass message llm data-container language-model
  • class OpenAIResponsesLLM

    Adapter class for OpenAI's Responses API, specifically designed for GPT-5 family models with automatic fallback mechanisms to stable models when responses fail.

    File: /tf/active/vicechatdev/docchat/llm_factory.py

    openai llm gpt-5 responses-api adapter
  • class OpenAIChatLLM

    Adapter class for interacting with OpenAI's Chat Completions API, supporting both GPT-4 and GPT-5 model families with automatic parameter adjustment based on model type.

    File: /tf/active/vicechatdev/docchat/llm_factory.py

    openai llm chat-completion gpt-4 gpt-5
  • class AzureOpenAIChatLLM

    Adapter class for interacting with Azure OpenAI's Chat Completions API, providing a simplified interface for generating chat responses using Azure-hosted OpenAI models.

    File: /tf/active/vicechatdev/docchat/llm_factory.py

    azure openai chat llm api-adapter
  • function get_llm_instance

    Factory function that creates and returns an appropriate LLM (Large Language Model) instance based on the specified model name, automatically detecting the provider (OpenAI, Azure OpenAI, or Anthropic) and configuring it with the given parameters.

    File: /tf/active/vicechatdev/docchat/llm_factory.py

    llm factory-pattern openai azure anthropic
  • class GPT5Validator

    A comprehensive testing and validation class for OpenAI GPT models, with special support for GPT-5 family models using the Responses API.

    File: /tf/active/vicechatdev/docchat/test_gpt5_readiness.py

    testing validation openai gpt-5 api-testing
  • function main_v12

    Main test runner function that validates GPT-5 readiness by running comprehensive tests against multiple OpenAI models (GPT-5 and GPT-4o) and provides production readiness recommendations.

    File: /tf/active/vicechatdev/docchat/test_gpt5_readiness.py

    testing validation openai gpt-5 model-comparison
  • function download_model

    Downloads a model file from a specified URL and saves it to a local file path using HTTP GET request.

    File: /tf/active/vicechatdev/chromadb-cleanup/scripts/download_model.py

    download http file-io model-management network
  • function create_summary

    Creates a text summary using OpenAI's GPT models or returns a truncated version as fallback when API key is unavailable.

    File: /tf/active/vicechatdev/chromadb-cleanup/src/summarization/summarizer.py

    summarization text-processing openai gpt nlp
  • function raw_cleanup_database

    Performs raw database cleanup on a SQLite database to identify and fix corrupted chat_session_id values in the text_sections table by converting invalid string representations ('{}', '[]', 'null', '') to NULL.

    File: /tf/active/vicechatdev/vice_ai/raw_database_cleanup.py

    database cleanup maintenance sqlite data-integrity
  • class SmartStatService

    Service for running SmartStat analysis sessions in Vice AI

    File: /tf/active/vicechatdev/vice_ai/smartstat_service.py

    class smartstatservice
  • class LLMClient

    Multi-LLM client that provides a unified interface for interacting with OpenAI GPT-4o, Azure OpenAI, Google Gemini, and Anthropic Claude models.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    llm openai azure gemini claude
  • function chat_with_text_section

    Flask API endpoint that enables AI-powered chat conversations about a specific text section, with support for multiple LLM models and document context.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    flask api-endpoint chat ai-assistant llm
  • function api_send_chat_message_v1

    Flask API endpoint that handles sending messages in a chat session, processes them through a RAG (Retrieval-Augmented Generation) engine with configurable LLM models, and returns AI-generated responses with references.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    chat api rag llm conversational-ai
  • function api_add_reference_document

    Flask API endpoint that accepts reference document text via POST request and stores it in the user's session for use as context in subsequent operations.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    api flask reference-document session-management document-upload
  • function smartstat_run_analysis

    Flask API endpoint that initiates a SmartStat statistical analysis in a background thread, tracking progress and persisting results to a data section.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    flask api-endpoint background-processing statistical-analysis async
  • function smartstat_download_log

    Flask API endpoint that generates and downloads an execution log file containing the analysis history and debug information for a SmartStat session.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    flask api-endpoint file-download logging smartstat
  • class Config

    Configuration class that manages application-wide settings, directory structures, API keys, and operational parameters for a statistical analysis application.

    File: /tf/active/vicechatdev/vice_ai/smartstat_config.py

    configuration settings flask api-keys directory-management
  • class DocumentService

    Service class for managing Document entities, including creation, retrieval, section management, versioning, and duplication operations.

    File: /tf/active/vicechatdev/vice_ai/services.py

    document-management service-layer crud-operations versioning section-management
  • function test_models_integration

    Integration test function that validates the import and instantiation of data models including SectionType, TextSection, DataAnalysisSession, AnalysisStatus, DataSource, and DataSourceType.

    File: /tf/active/vicechatdev/vice_ai/test_integration.py

    testing integration-test models validation import-test
  • function test_database_schema

    A test function that validates database schema updates, specifically testing the storage and retrieval of TextSection objects with analysis_session_id fields using an in-memory SQLite database.

    File: /tf/active/vicechatdev/vice_ai/test_integration.py

    testing database schema validation unit-test
  • function main_v25

    Orchestrates and executes a comprehensive test suite for the Vice AI Data Analysis Integration, running multiple test functions, creating test datasets, and providing detailed pass/fail reporting.

    File: /tf/active/vicechatdev/vice_ai/test_integration.py

    testing integration-tests test-runner data-analysis test-orchestration
  • class ControlledDocumentFlaskApp

    Main Flask application class for Controlled Document Management System.

    File: /tf/active/vicechatdev/CDocs/main_flask.py

    class controlleddocumentflaskapp
  • class ControlledDocumentApp

    Main application class for the Controlled Document Management System. This class initializes all components and provides the main Panel interface for the application. It is designed to be served via `panel serve` command and integrates with the existing datacapture application.

    File: /tf/active/vicechatdev/CDocs/main.py

    class controlleddocumentapp
  • class ControlledDocument

    Model representing a controlled document.

    File: /tf/active/vicechatdev/CDocs/models/document.py

    class controlleddocument
  • class BaseModel

    Base class providing common data model functionality for all models in the system, including property management, serialization, and deserialization.

    File: /tf/active/vicechatdev/CDocs/models/__init__.py

    base-class data-model orm serialization deserialization
  • function get_model_class

    Retrieves a model class from a registry by its string name, returning the class type or None if not found.

    File: /tf/active/vicechatdev/CDocs/models/__init__.py

    registry lookup factory-pattern model-management dynamic-loading
  • function get_all_model_classes

    Retrieves a copy of the internal model registry containing all registered model classes mapped by their names.

    File: /tf/active/vicechatdev/CDocs/models/__init__.py

    registry model-discovery introspection metadata BaseModel

Search Examples