-
Index your data in Pinecone with openAI text-embedding-3-small (sample notebook coming)
-
Create a new Web Service on Render.
-
Populate the OPENAI_KEY and PINECONE_KEY environment variables with your API keys.
-
Specify the URL to this repository
-
Render will automatically detect that you are deploying a Python service and use
pipto download the dependencies. -
Specify the following as the Start Command.
uvicorn main:app --host 0.0.0.0 --port $PORT -
Click Create Web Service.
Or simply click:
Thanks to Harish for the inspiration to create a FastAPI quickstart for Render and for some sample code!