Skip to content

Issue with Local Development Using Azure Blob Storage Emulator #8

@corneelvanmoll-nv

Description

@corneelvanmoll-nv

Description:

I am experiencing difficulty using the Chainlit framework with Azure Blob Storage Emulator for local development. The current configuration options within the framework do not support the necessary setup for local development using the Azure Storage Emulator, resulting in authorization errors.

Steps to Reproduce:

  1. Clone the chainlite data-layer repository
  2. Configure environment as described on the readme under 'Try it locally'
  3. Try to upload a file in a chat

Expected Behavior:

Chainlit should initialize the Azure Blob Storage client using the provided connection string and interact with the local storage emulator without authorization errors.

Actual Behavior:

Using Chainlit with the default connection string configuration results in authorization errors. Adjusting the connection string protocol to http and specifying the BlobEndpoint resolves the issue, indicating the framework does not fully support local development configuration using azurite.

Proposed Solution:

Enhance Chainlit to support local development with Azure Blob Storage Emulator by allowing configuration of the protocol and endpoints through environment variables or initialization parameters. This would improve development and testing workflows.

Additional Context:

  • Chainlit Version: 2.1.2
  • Operating System: WSL (Ubuntu)

I appreciate your attention to this issue and look forward to a solution that accommodates local development scenarios.

Thank you for your support.

Best regards,

Corneel Van Moll

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions