🔍 Code Extractor

Search Components

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

Search Results for "rest"

Found 50 matching component(s)

  • function format_inline_references

    Formats inline citation references (e.g., [1], [2]) in a Word document paragraph by applying italic styling to them while preserving the rest of the text.

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

    document-formatting word-processing python-docx text-formatting citations
  • function create_folder

    Creates a nested folder structure on a FileCloud server by traversing a path and creating missing directories.

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

    filecloud api folder-creation directory-management rest-api
  • class FileCloudAPI

    Python wrapper for the FileCloud REST API. This class provides methods to interact with FileCloud server APIs, handling authentication, session management, and various file operations.

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

    class filecloudapi
  • class DocumentDetail

    Document detail view component

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

    class documentdetail
  • class FileCloudAPI_v1

    Python wrapper for the FileCloud REST API. This class provides methods to interact with FileCloud server APIs, handling authentication, session management, and various file operations.

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

    class filecloudapi
  • class DocumentDetail_v1

    Document detail view component

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

    class documentdetail
  • class OneCo_hybrid_RAG_v2

    A class named OneCo_hybrid_RAG

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

    class oneco_hybrid_rag
  • function download_file

    Flask route handler that serves generated report files for download from a designated reports folder.

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

    flask file-download web-route file-serving error-handling
  • function health_check

    A Flask route handler that provides a health check endpoint returning the application's status and current timestamp.

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

    health-check monitoring flask endpoint api
  • class FileCloudClient

    A client class for interacting with FileCloud server API, providing authentication, file management, folder creation, and file upload capabilities.

    File: /tf/active/vicechatdev/SPFCsync/filecloud_client.py

    filecloud file-management cloud-storage api-client file-upload
  • function explore_all_drives

    Retrieves and displays all document drives from a SharePoint site using Microsoft Graph API, then explores the root folder of each drive.

    File: /tf/active/vicechatdev/SPFCsync/diagnostic_comprehensive.py

    sharepoint microsoft-graph api drives document-libraries
  • function explore_drive_root

    Retrieves and displays the contents of a SharePoint drive's root directory, showing folders and files with their counts and names.

    File: /tf/active/vicechatdev/SPFCsync/diagnostic_comprehensive.py

    sharepoint microsoft-graph api drive-exploration file-system
  • function explore_document_libraries

    Retrieves and displays all document libraries from a SharePoint site using Microsoft Graph API, then explores items within each library.

    File: /tf/active/vicechatdev/SPFCsync/diagnostic_comprehensive.py

    sharepoint microsoft-graph document-libraries api-integration data-exploration
  • function explore_library_items

    Retrieves and displays items from a SharePoint document library using Microsoft Graph API, showing the total count and details of up to 5 items.

    File: /tf/active/vicechatdev/SPFCsync/diagnostic_comprehensive.py

    sharepoint microsoft-graph document-library api rest
  • function explore_site_lists

    Retrieves and displays all SharePoint lists from a specified site using Microsoft Graph API, printing their display names, IDs, template types, and web URLs.

    File: /tf/active/vicechatdev/SPFCsync/diagnostic_comprehensive.py

    sharepoint microsoft-graph api lists discovery
  • function explore_alternative_endpoints

    Tests multiple Microsoft Graph API endpoints to locate missing folders in a SharePoint drive by trying different URL patterns and searching for expected folders.

    File: /tf/active/vicechatdev/SPFCsync/diagnostic_comprehensive.py

    sharepoint microsoft-graph-api diagnostic debugging api-testing
  • function test_rest_client

    A test function that validates the SharePoint REST API client by testing authentication, document listing, and file download capabilities.

    File: /tf/active/vicechatdev/SPFCsync/test_rest_client.py

    testing sharepoint rest-api integration-test azure
  • function main_v36

    Main test function that validates SharePoint REST API connectivity by loading configuration, setting up logging, and executing REST client tests.

    File: /tf/active/vicechatdev/SPFCsync/test_rest_client.py

    testing sharepoint rest-api integration-test configuration
  • class SharePointRestClient

    A SharePoint REST API client that provides app-only authentication and methods for retrieving and downloading documents from SharePoint sites.

    File: /tf/active/vicechatdev/SPFCsync/sharepoint_rest_client.py

    sharepoint rest-api oauth2 authentication document-management
  • function test_sharepoint_api_call

    Tests SharePoint REST API connectivity by making an authenticated GET request to retrieve basic site information and validates the access token and permissions.

    File: /tf/active/vicechatdev/SPFCsync/diagnose_sharepoint.py

    sharepoint api-testing authentication oauth rest-api
  • function test_graph_sites_api

    Tests Microsoft Graph API access to SharePoint sites by attempting to list available sites and locate a specific target site (vicebio.com), then tests drive access if found.

    File: /tf/active/vicechatdev/SPFCsync/check_tenant_config.py

    microsoft-graph sharepoint api-testing authentication oauth2
  • function test_site_drive_access

    Tests access to a SharePoint site's document library (drives) via Microsoft Graph API and attempts to access the first drive's root items.

    File: /tf/active/vicechatdev/SPFCsync/check_tenant_config.py

    microsoft-graph sharepoint api-testing authentication document-library
  • function test_drive_items

    Tests access to items in a Microsoft SharePoint drive by querying the Microsoft Graph API and verifying the response.

    File: /tf/active/vicechatdev/SPFCsync/check_tenant_config.py

    microsoft-graph-api sharepoint authentication api-testing drive-access
  • function main_v44

    Diagnostic function that tests SharePoint tenant configuration by checking Microsoft Graph API access and provides recommendations based on the results.

    File: /tf/active/vicechatdev/SPFCsync/check_tenant_config.py

    diagnostic sharepoint microsoft-graph authentication tenant-configuration
  • function test_sharepoint_with_token

    Tests SharePoint REST API connectivity and authentication by making a GET request to retrieve site information using a provided access token.

    File: /tf/active/vicechatdev/SPFCsync/diagnose_permissions.py

    sharepoint api-testing authentication oauth rest-api
  • class SharePointGraphClient

    SharePoint client using Microsoft Graph API. This bypasses SharePoint REST API app-only token issues.

    File: /tf/active/vicechatdev/SPFCsync/sharepoint_graph_client.py

    class sharepointgraphclient
  • function get_root_folders

    Retrieves all folders at the root level of a SharePoint drive using Microsoft Graph API, returning their metadata including name, ID, item count, timestamps, and web URL.

    File: /tf/active/vicechatdev/SPFCsync/test_folder_structure.py

    sharepoint microsoft-graph api folders metadata
  • 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 api_get_system_config

    Flask API endpoint that retrieves current system configuration settings for admin users only, returning configuration values like system role, expertise, domain context, and supported languages.

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

    flask api admin configuration system-settings
  • function get_session_settings

    Flask API endpoint that retrieves saved settings for the current user's session from the session store.

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

    flask api session-management settings rest-api
  • function save_session_settings

    Flask API endpoint that saves user-provided settings for the current session by retrieving the session ID from Flask's session object and updating the session settings in the backend.

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

    flask api-endpoint session-management settings configuration
  • function get_session_history

    Flask API endpoint that retrieves the chat message history for the current user's session.

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

    flask api rest-endpoint session-management chat-history
  • function api_task_status

    Flask API endpoint that retrieves and returns the status of asynchronous tasks (chat or indexing operations) by task ID.

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

    api flask rest-endpoint task-status async-polling
  • function api_chat_status

    Flask API endpoint that retrieves the detailed status of a chat task by delegating to the api_task_status function using the provided task_id.

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

    flask api endpoint chat status
  • function api_document_tree

    Flask API endpoint that returns a hierarchical document tree structure from a configured document folder, supporting lazy loading and full expansion modes for efficient navigation and search.

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

    flask api rest-endpoint document-management tree-structure
  • function api_folders

    Flask API endpoint that returns a hierarchical JSON tree structure of all folders (excluding files) within the configured document folder, used for folder selection in upload interfaces.

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

    flask api endpoint folder-tree directory-structure
  • function api_documents

    Flask API endpoint that retrieves statistics and metadata about indexed documents from a document indexer service.

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

    flask api rest-endpoint document-management statistics
  • function api_clear_history

    Flask API endpoint that clears the chat history for the current user session by removing stored conversation data associated with the session ID.

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

    flask api endpoint chat history
  • function api_index_folder

    Flask API endpoint that initiates a background task to index documents in a specified folder, tracking progress and returning a task ID for status monitoring.

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

    flask api endpoint background-task document-indexing
  • function api_index_progress

    Flask API endpoint that retrieves the current progress status of an asynchronous indexing task by its task ID.

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

    flask api rest-endpoint progress-tracking async-task
  • function health_v1

    Flask route handler that provides a health check endpoint returning the operational status of the application and its core components (RAG engine and document indexer).

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

    health-check monitoring diagnostics flask rest-api
  • function not_found_v1

    Flask error handler that returns a JSON response with a 404 status code when a requested resource is not found.

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

    flask error-handler http-404 json-response web-api
  • function get_instruction_templates

    Flask API endpoint that returns a dictionary of predefined instruction templates for different document types including SOPs, work instructions, quality forms, and document comparison guidelines.

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

    flask api endpoint templates instructions
  • function save_custom_instructions

    Flask API endpoint that saves custom instructions to a markdown file in a designated instructions directory with filename sanitization.

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

    flask api-endpoint file-operations rest-api file-saving
  • function list_custom_instructions

    Flask API endpoint that retrieves and returns a list of all custom instruction markdown files stored in the 'instructions' directory.

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

    flask api rest-api file-listing directory-scanning
  • class DocChatRAG

    Main RAG engine with three operating modes: 1. Basic RAG (similarity search) 2. Extensive (full document retrieval with preprocessing) 3. Full Reading (process all documents)

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

    class docchatrag
  • function upload_document

    Flask route handler that processes file uploads, saves them securely to disk, and indexes the document content for retrieval-augmented generation (RAG) search.

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

    file-upload document-processing flask-route authentication RAG
  • function get_task_status

    Flask API endpoint that retrieves the current status of a background task by its task ID from an in-memory active_tasks dictionary.

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

    flask api rest-endpoint task-status background-task
  • function get_stats

    Flask API endpoint that retrieves and returns statistics about a document collection from a RAG (Retrieval-Augmented Generation) system.

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

    flask api endpoint statistics rag
  • 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

Search Examples