class_docstr: Chat completion.
class_docstr_tok: ["Chat","completion","."]
code: def _update_history(self, prompt: str, reply: str) -> None:
      self._parameters["chat_conversation"].append((prompt, reply))
  
imports: import abc
  import ast
  import collections
  from typing import Any, AsyncGenerator, Dict, Generator, List, Optional, OrderedDict, Union
  from h2ogpt_client._gradio_client import GradioClientWrapper
  from h2ogpt_client._h2ogpt_enums import DocumentSubset, LangChainAction, LangChainMode, PromptType
  from h2ogpt_client._models import Model
label_desc: Use image node_id 1 for calling the ChatCompletion obj's underlying member method code with example usage: obj._update_history(prompt, reply) without return types