code: def _create_text_completion(client):
      model = client.models.list()[-1]
      return client.text_completion.create(model=model)
  
file_path: h2ogpt/client/tests/test_client.py
imports: import platform
  import pytest
  from h2ogpt_client import Client
label_desc: Use image node_id 2 for calling a global function with example usage: _create_text_completion(client) and returns: client