databricks-ml-examples
databricks-ml-examples copied to clipboard
Adding CORS to sample
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.