Install FastAPI
Serve Model
In a terminal, call:weave://your_entity/project-name/YourModel:<hash>
To use it, navigate to the Swagger UI link, click the predict endpoint and then click “Try it out!”.Expose your Weave ops and models as API endpoints
weave serve <ref>
pip install fastapi uvicorn
weave serve <your model ref>
weave://your_entity/project-name/YourModel:<hash>
To use it, navigate to the Swagger UI link, click the predict endpoint and then click “Try it out!”.Was this page helpful?