" with httpclient.InferenceServerClient(\"localhost:8000\") as client:\n",
" async_responses = []\n",
" for i in range(10):\n",
" s = 'this is a sentence.'\n",
" s = ' '.join(rs.random_words(randrange(MIN_WORDS, MAX_WORDS)) + ['.']) # 'this is a sentence.' Use a constant sentence if you want to hit the cache\n",