code: def send_sample_request():
      import requests
  
      prompt = "How do I cook fried rice?"
      sample_input = {"prompt": prompt, "stream": True}
      output = requests.post(
          "http://localhost:8000/", json=sample_input
      )
      for line in output.iter_lines():
          print(line.decode("utf-8"))
  
file_path: ray/doc/source/serve/doc_code/vllm_example.py
imports: import json
  from typing import AsyncGenerator
  from fastapi import BackgroundTasks
  from starlette.requests import Request
  from starlette.responses import StreamingResponse, Response
  from vllm.engine.arg_utils import AsyncEngineArgs
  from vllm.engine.async_llm_engine import AsyncLLMEngine
  from vllm.sampling_params import SamplingParams
  from vllm.utils import random_uuid
  from ray import serve
label_desc: Use image node_id 1 for calling a global function with example usage: send_sample_request() without return types