🔍 Code Extractor

Search Components

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

Search Results for "chat_session_id"

Found 18 matching component(s)

  • function chat

    Flask route handler that processes chat requests with RAG (Retrieval-Augmented Generation) capabilities, managing conversation sessions, chat history, and document-based question answering.

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

    chat rag retrieval-augmented-generation conversational-ai document-qa
  • function clear_session

    Flask route handler that clears the current user's chat session, deletes associated session data from memory and disk, and creates a new empty session.

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

    flask session-management chat api-endpoint authentication
  • function get_history

    Flask API endpoint that retrieves chat message history for the current user's session from an in-memory chat_sessions dictionary.

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

    flask api-endpoint chat-history session-management authentication
  • 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
  • function check_and_fix_corruption

    Scans a SQLite database for corrupted chat_session_id values in the text_sections table and automatically fixes them by setting invalid entries to NULL.

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

    database sqlite data-integrity corruption-detection data-cleaning
  • function debug_section_retrieval

    A debugging utility function that tests database section retrieval by querying a specific text section and printing detailed diagnostic information about the section and its chat session association.

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

    debugging database testing diagnostics section-retrieval
  • 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
  • class DocumentSection

    A class representing a section within a complex document, supporting hierarchical structure with headers, text content, and references.

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

    document-management data-structure serialization document-section hierarchical-data
  • function api_create_chat_session_v1

    Flask API endpoint that creates a new chat session for a document section or retrieves an existing one if already present.

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

    api flask chat session-management authentication
  • function api_create_chat_session

    Flask API endpoint that creates or retrieves a chat session associated with a specific document section, ensuring proper validation and linking between documents, sections, and chat sessions.

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

    flask api rest-endpoint chat-session document-management
  • function analysis_chat

    Flask route handler that processes chat messages for data analysis sessions, verifying user authentication and session ownership before delegating to the data analysis service.

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

    flask api-endpoint data-analysis chat async
  • function direct_fix

    A database maintenance function that detects and fixes corrupted chat_session_id values in a SQLite database's text_sections table by identifying invalid patterns and setting them to NULL.

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

    database sqlite maintenance corruption-fix data-cleaning
  • 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
  • function cleanup_corrupted_chat_session_ids

    Database maintenance function that identifies and fixes corrupted chat_session_id values in the text_sections table by replacing invalid string representations with NULL.

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

    database cleanup maintenance data-integrity migration
  • function check_specific_corruption

    Detects and fixes specific corruption patterns in the chat_session_id column of a SQLite database's text_sections table, replacing invalid values with NULL.

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

    database sqlite data-cleaning corruption-detection data-repair
  • class TextSection

    A dataclass representing a text section entity with versioning, chat interface, data analysis capabilities, and metadata management.

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

    dataclass document-management versioning content-management chat-interface
  • class DatabaseManager_v1

    SQLite database manager for persistent storage

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

    class databasemanager
  • function inspect_database

    Inspects a SQLite database at a hardcoded path, examining table structure, row counts, and identifying potentially corrupted chat_session_id values in the text_sections table.

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

    database sqlite diagnostic debugging data-quality

Search Examples