Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Adding CORS to sample

オープン
#107 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
api

調査の方向性

llm-models/llamav2/llamav2-7b/02_mlflow_logging_inference.py から始めて、endpoint とリクエストヘッダーがどのように作成されるかを確認します。localhost の UI にアクセスするシナリオを再現し、そのうえで、サンプルで CORS の設定を示すべきか、推奨される開発時のアクセス方法を明確にすべきかを判断します。サンプルまたはそのガイダンスで、報告されたブラウザーアクセスの問題に対処できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
370
フォーク
132
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

databricks/databricks-ml-examples のほかの issue

databricks/databricks-ml-examples の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。