code: def make_http_query(num_words, num_queries):
      for _ in range(num_queries):
          words = "Lorem ipsum dolor sit amet".split()
          prompt_words = [
              words[i % len(words)] for i in range(num_words)
          ]
          prompt = " ".join(prompt_words)
          expected_words = [
              word[::-1] for word in prompt_words for _ in range(2)
          ]
  
          response = requests.post(
              f"http://localhost:8000/?prompt={prompt}", stream=True
          )
          response.raise_for_status()
          content = response.content.decode()
          assert content == " ".join(expected_words) + " ", content
  
file_path: ray/python/ray/tests/chaos/streaming_llm.py
imports: import asyncio
  import logging
  import requests
  import argparse
  from fastapi import FastAPI
  from starlette.responses import StreamingResponse
  import ray
  from ray import serve
label_desc: Use image node_id 1 for calling a global function with example usage: make_http_query(num_words, num_queries) without return types