Commit History

  1. REFINE: update run_migrations script to use database_url instead of direct_url

    f8dff75
  2. ADD: implement load test for /query endpoint and enhance API endpoint tests with improved error handling

    a9d7074
  3. REFINE: replace ValueError with WorkspaceNotFoundError in get_workspace_by_brand_slug function

    24d9d7b
  4. REFINE: replace ValueError with WorkspaceNotFoundError in workspace and Shopify credentials retrieval

    058dff9
  5. REFINE: replace WorkspaceNotFoundError with DocumentNotFoundError in document status handling

    4b128b9
  6. ADD: implement run_migrations script for database migration management

    26e584b
  7. REFINE: replace Supabase operations with Workspace model methods in workspace management

    8ac9bba
  8. REFINE: replace Supabase operations with SocialAccount model methods in social account management

    99d9332
  9. ADD: create DocumentStatus and Embedding models for database management

    74aaf35
  10. ADD: implement foreign models for Workspace, SocialAccount, and Comment

    ee6530f
  11. REFINE: replace Supabase operations with Embedding model methods in embedding management

    53f2813
  12. REFINE: replace Supabase operations with DocumentStatus model methods in document status management

    a618e1e
  13. REFINE: replace Supabase insert with Comment model creation in insert_comment function

    88b5979
  14. REFINE: replace print statement with logger.debug for usage tracking in classify_query_route

    1549be3
  15. REFINE: replace print statements with logger.debug for usage tracking in RAG answer generation

    f868509
  16. ADD: create baseline migration for document_status and embeddings

    14496dc
  17. REFINE: enhance API key verification to use secure comparison

    c240d15
  18. REFINE: add DocumentNotFoundError exception for handling document not found scenarios

    edbb770
  19. ADD: implement lazy database proxy to defer connection until query execution

    89782a0
  20. REFINE: add database_url and direct_url fields to Settings for environment configuration

    347e3c4
  21. REFINE: update mime field in IngestDocumentRequest to use Field for validation

    662d8a9
  22. REFINE: standardize error response structure by changing 'message' to 'detail'

    4e345df
  23. ADD: update requirements to include additional dependencies for project functionality

    ba413f2

  1. REFINE: implement request gating to manage concurrent access and improve rate limiting

    da587f2
  2. REFINE: wrap chat completion request in groq_gate context for improved rate limiting

    3ecbd36
  3. ADD: implement onboarding service for Shopify workspace integration

    9d176db
  4. ADD: implement RateGate class for managing concurrent access with rate limiting

    27340d5
  5. ADD: configure rate gates and adjust thread pool sizes in settings

    7dacedb
  6. UPDATE: added shopify_gate to watch the limit

    4b4c080
  7. REFINE: wrap API requests in shopify_gate context for improved session management

    a15702d
  8. ADD: implement onboarding and ingest routes for Shopify workspace

    50c92e1
  9. REFINE: add JSONResponse import and include onboarding router in main application

    6b48666
  10. ADD: implement mocked tests for THROTTLED retry logic in product_search_api

    a23def7
  11. REFINE: update test cases to use instant_reply_cache for consistency in cache management

    becf772
  12. REFINE: update cache service method from clear_query_cache_for_slug to clear_product_result_cache_for_slug for consistency

    97f65d7
  13. ADD: implement load testing script for Shopify API to evaluate throttling behavior

    e5dc3cb
  14. REFINE: update cache references from inventory_cache to instant_reply_cache for consistency in query handling

    831f930
  15. REFINE: enhance product search caching and query handling for improved performance and clarity

    c46b8b7
  16. REFINE: replace inventory_cache references with instant_reply_cache for consistency in cache management

    b6714d8
  17. REFINE: replace inventory_cache with instant_reply_cache for consistency and clarity in cache management

    efd039f
  18. REFINE: update cache references from inventory_cache to instant_reply_cache for consistency

    4546394
  19. REFINE: update prompt extraction rules to clarify title and keyword handling for product descriptions

    49f4377
  20. REFINE: rename inventory_cache and query_cache to instant_reply_cache and product_result_cache for clarity

    af700e4
  21. REFINE: improve error handling for Shopify GraphQL requests; add throttling detection and wait time calculation

    c310376
  22. REFINE: remove unused get_products and get_inventory functions from admin_api.py

    5b50eda
  23. REFINE: remove onboarding routes and related service code

    cd54ca1
  24. REFINE: remove unused onboarding route import and related code from main.py

    d875277

  1. REFINE: add usage logging for response in query classification and RAG answer generation; enhance inventory prompt for structured field extraction

    fb7ef33
  2. REFINE: enhance error handling for workspace existence and update cache key format in query service

    d6abbac

  1. ADD: implement structured field extraction and query building for Shopify product search

    6bcbdd0