code: def test_text_completion_basic():
      try:
          print("\n test 003 with logprobs \n")
          litellm.set_verbose = False
          response = text_completion(
              model="gpt-3.5-turbo-instruct",
              prompt="good morning",
              max_tokens=10,
              logprobs=10,
          )
          print(response)
          print(response.choices)
          print(response.choices[0])
          # print(response.choices[0].text)
          response_str = response["choices"][0]["text"]
      except Exception as e:
          pytest.fail(f"Error occurred: {e}")
  
file_path: litellm/litellm/tests/test_text_completion.py
imports: import sys, os, asyncio
  import traceback
  from dotenv import load_dotenv
  import os, io
  import pytest
  import litellm
  from litellm import embedding, completion, text_completion, completion_cost, atext_completion
  from litellm import RateLimitError
label_desc: Use image node_id 5 for calling a global function with example usage: test_text_completion_basic() without return types