Skip to main content
任意の Weave モデルへの Weave ref があれば、以下を実行できます:
weave serve <ref>
そのモデル用の FastAPI サーバーを起動します。http://0.0.0.0:9996/docs にアクセスして、モデルに対して対話的にクエリを実行できます。

FastAPI のインストール

pip install fastapi uvicorn

モデルをサーブする

ターミナルで次を実行します:
weave serve <your model ref>
UI で対象のモデルに移動し、model ref をコピーします。次のような形式になっています: weave://your_entity/project-name/YourModel:<hash> これを使用するには、Swagger UI のリンクを開き、predict エンドポイントをクリックしてから「Try it out!」をクリックします。