Skip to content

Adding CORS to sample  #107

@micuentadecasa

Description

@micuentadecasa

Hi, I have seen your example llm-models/llamav2/llamav2-7b/02_mlflow_logging_inference.py , when you create the endpoint, you add headers, is there a way to add CORS here?
I have created an endpoint for serving a RAG system, and the development team is facing an issue with CORS when debugging in localhost in a UI, what is the recommended way to access an endpoint in development? maybe the issue is not with CORS but they are not accessing the endpoint the right way.
notice that I'm trying not to use a proxy server in Azure, I want to do everything in Databricks cluster.

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