🔍 Code Extractor

Search Components

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

Search Results for "persistence"

Found 50 matching component(s)

  • function push_changes

    Updates a node's properties in a Neo4j graph database by matching on UID and setting new property values.

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

    neo4j graph-database database-update cypher node-update
  • function save_session_to_disk

    Persists a chat session to disk by serializing session data to a JSON file, converting datetime objects to ISO format strings.

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

    persistence serialization session-management file-io json
  • function load_session_from_disk

    Loads a session from disk storage by reading a JSON file identified by session_id, deserializing the data, and converting timestamp strings back to datetime objects.

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

    session-management persistence file-io deserialization json
  • function load_all_sessions

    Loads all chat session data from JSON files stored in a sessions directory into memory on application startup.

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

    session-management persistence initialization disk-io thread-safe
  • function get_or_create_session

    Retrieves an existing chat session by ID or creates a new one if it doesn't exist, with thread-safe access and persistent storage support.

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

    session-management chat thread-safe persistence caching
  • function add_message_to_session

    Adds a message to a chat session with thread-safe locking, storing role, content, timestamp, and optional metadata/references, then persists the session to disk.

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

    chat session-management thread-safe messaging persistence
  • function clear_session_v1

    Clears all messages from a chat session identified by session_id, resets the session's updated timestamp, and persists the changes to disk in a thread-safe manner.

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

    session-management chat thread-safe persistence state-management
  • 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 save_config_to_file

    Persists current application configuration values from the config module to a .env file, maintaining existing entries and formatting multi-value fields appropriately.

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

    configuration persistence file-io environment-variables dotenv
  • function api_update_system_config

    Flask API endpoint that allows administrators to update system configuration settings including system role, expertise, domain context, custom instructions, output style, and query languages, with persistence to disk.

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

    admin configuration system-settings api-endpoint flask
  • function save_session_to_disk_v1

    Persists a chat session to disk by serializing session data to a JSON file, converting datetime objects to ISO format strings for storage.

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

    persistence session-management file-io serialization json
  • function on_load

    Blueprint initialization hook that loads persisted chat sessions from disk when the DocChat blueprint is registered with the Flask application.

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

    flask blueprint initialization lifecycle-hook session-management
  • class Config_v3

    Configuration manager class that loads, manages, and persists configuration settings for a contract validity analyzer application, supporting YAML files and environment variable overrides.

    File: /tf/active/vicechatdev/contract_validity_analyzer/config/config.py

    configuration config-management yaml environment-variables settings
  • function save_data_to_chromadb_v1

    Saves a list of document dictionaries to a ChromaDB collection, with support for batch processing, embeddings, and metadata storage.

    File: /tf/active/vicechatdev/chromadb-cleanup/main.py

    chromadb vector-database document-storage embeddings batch-processing
  • function save_data_to_chromadb

    Saves a list of document dictionaries to a ChromaDB vector database collection, optionally including embeddings and metadata.

    File: /tf/active/vicechatdev/chromadb-cleanup/main copy.py

    chromadb vector-database document-storage embeddings persistence
  • function save_document_to_file

    Persists a document object to the filesystem as a JSON file, using the document's ID as the filename.

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

    file-io persistence json serialization document-storage
  • function load_document_from_file

    Loads a document from a JSON file stored in a documents directory, deserializes it into a ComplexDocument object, and returns it.

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

    file-io document-management json deserialization persistence
  • function load_all_chat_sessions

    Loads all chat session data from JSON files stored in a designated directory and returns them as a dictionary indexed by session ID.

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

    file-io persistence chat-sessions json data-loading
  • function save_chat_session_to_file

    Persists a chat session object to a JSON file in the designated chat sessions directory, using the session's ID as the filename.

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

    file-io persistence serialization json chat
  • function load_chat_session_from_file

    Loads a chat session from a JSON file stored in the CHAT_SESSIONS_DIR directory using the provided session_id as the filename.

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

    file-io persistence chat session-management json
  • class ChatSession

    A class that manages a chat session associated with a specific document section, tracking messages, context documents, references, and timestamps.

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

    chat session-management conversation document-chat message-tracking
  • function create_document_v6

    Creates a new ComplexDocument instance with a unique UUID, stores it in application state with thread-safe locking, persists it to file, and logs the creation.

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

    document-management factory-method thread-safe persistence uuid
  • function get_document_v7

    Retrieves a document by its ID from an in-memory cache or loads it from persistent storage if not cached.

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

    document-retrieval caching thread-safe memory-cache persistence
  • function save_document

    Saves a document object to both in-memory application state and persistent file storage, updating its timestamp in the process.

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

    document-management persistence thread-safe storage state-management
  • function create_chat_session

    Creates a new chat session for a specific document section by generating a unique session ID, initializing a ChatSession object, storing it in application state with thread-safe locking, and persisting it to file.

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

    chat session-management thread-safe uuid state-management
  • function get_chat_session

    Retrieves a chat session by its unique session ID, first checking an in-memory cache, then falling back to loading from persistent file storage if not found in memory.

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

    chat session-management caching thread-safe persistence
  • function api_save_template

    Flask API endpoint that saves a new instruction template by validating input data and delegating to the chat engine's template storage mechanism.

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

    flask api rest-endpoint template-management post-request
  • class SmartStatSession

    A session management class that encapsulates a SmartStat statistical analysis session, tracking data, analysis history, plots, and reports for a specific data section.

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

    session-management data-analysis statistics dataframe multi-dataset
  • function upload_data_section_dataset

    Flask API endpoint that handles CSV file uploads for data section analysis, processes the file, extracts metadata, and stores it in the data section for persistence.

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

    file-upload csv-processing data-analysis authentication api-endpoint
  • function save_data_section_analysis

    Flask API endpoint that saves analysis results (plots, conclusions, and analysis data) from a data analysis session to a data section in the database.

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

    flask api-endpoint data-analysis persistence authentication
  • function smartstat_upload_data

    Flask route handler that uploads CSV or Excel data files to a SmartStat analysis session, with support for multi-sheet Excel files and session recovery.

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

    flask file-upload csv excel data-analysis
  • 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_save_selective

    Flask route handler that saves selected statistical analysis rounds and their associated plots from a SmartStat session to a data section, with options to replace or append to existing content.

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

    flask-route api-endpoint smartstat data-persistence statistical-analysis
  • class TextSectionService

    Service class for managing TextSection entities, providing CRUD operations, versioning, chat functionality, and search capabilities.

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

    service-layer text-management versioning crud-operations chat-integration
  • class DataSectionService

    Service class for managing DataSection entities, providing CRUD operations and specialized update methods for analysis sessions, plots, and conclusions.

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

    service-layer data-management CRUD database data-section
  • 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
  • class ChatSession_v1

    A dataclass representing a chat session associated with a specific text section in a document, managing conversation messages, context, and references.

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

    chat session-management conversation dataclass serialization
  • class TextSectionVersion

    A dataclass representing a single version in the history of a text section's content, tracking changes, authorship, and timestamps.

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

    version-control dataclass serialization history-tracking text-management
  • class DocumentVersion

    A dataclass that represents a versioned snapshot of a document, capturing its structure, metadata, and change history at a specific point in time.

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

    version-control document-management dataclass serialization audit-trail
  • class DataSection

    A dataclass representing a dedicated data analysis section that stores analysis results, plots, dataset information, and conclusions separately from text content.

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

    dataclass data-analysis serialization versioning content-management
  • class Document

    A dataclass representing a document with hierarchical structure, versioning, metadata, and collaboration features.

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

    document-management dataclass versioning collaboration serialization
  • class DataSource

    A dataclass that represents configuration for various data sources, supporting file-based, SQL database, and query-based data access patterns.

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

    dataclass configuration data-source serialization sql
  • class AnalysisConfiguration

    A dataclass that encapsulates configuration parameters for statistical analysis operations, including analysis type, variables, and statistical thresholds.

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

    configuration statistical-analysis dataclass serialization analysis-parameters
  • class AnalysisResult_v1

    A dataclass that encapsulates the results from statistical analysis operations, including metadata, file paths, and timestamps.

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

    dataclass statistical-analysis result-container serialization data-structure
  • class DataSource_v1

    A dataclass that encapsulates configuration for various data sources used in analysis, supporting file-based, SQL database, and query-based data sources.

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

    dataclass configuration data-source sql database
  • class AnalysisResult_v1

    A dataclass that encapsulates results from statistical analysis operations, providing structured storage and serialization capabilities for analysis outputs.

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

    dataclass statistical-analysis data-container serialization results-storage
  • class StatisticalSession

    A dataclass representing a statistical analysis session that tracks metadata, configuration, and status of data analysis operations.

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

    dataclass session-management statistical-analysis serialization metadata
  • function export_results

    Exports correlation analysis results to multiple CSV files, including overall correlations, grouped correlations, and significant findings.

    File: /tf/active/vicechatdev/vice_ai/smartstat_scripts/5a059cb7-3903-4020-8519-14198d1f39c9/analysis_1.py

    data-export csv file-io correlation-analysis results-persistence
  • function generate_document_number

    Generates unique, sequential document numbers for a given document type and department using persistent counters stored in Neo4j database.

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

    document-management numbering neo4j counter unique-identifier
  • class ApprovalComment

    Model class representing a comment made during a document approval cycle, with support for resolution tracking and database persistence.

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

    approval comment document-workflow database-model graph-database

Search Examples