text: the port number and host when we want to run the deployment. # Example port numberPORT_NUMBER = 8282# Run the deploymentserve.api.run(deployment, port=PORT_NUMBER)Now that service is deployed on port localhost:8282 we can send a post request to get the results back.import requeststext = "What NFL team won the Super Bowl in the year Justin Beiber was born?"response = requests.post(f"http://localhost:{PORT_NUMBER}/?text={text}")print(response.content.decode())PreviousQdrantNextRebuffGoal of this notebookSetup Ray ServeGeneral SkeletonExample of deploying and OpenAI chain with custom promptsCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright Â© 2023 LangChain, Inc.