FastAPI のインストール
モデルをサーブする
model ref をコピーします。次のような形式になっています:
weave://your_entity/project-name/YourModel:<hash>
これを使用するには、Swagger UI のリンクを開き、predict エンドポイントをクリックしてから「Try it out!」をクリックします。Weave の ops とモデルを API エンドポイントとして公開する
weave serve <ref>
pip install fastapi uvicorn
weave serve <your model ref>
model ref をコピーします。次のような形式になっています:
weave://your_entity/project-name/YourModel:<hash>
これを使用するには、Swagger UI のリンクを開き、predict エンドポイントをクリックしてから「Try it out!」をクリックします。Was this page helpful?