langchain_community.callbacks.mlflow_callback.construct_html_from_prompt_and_generation¶

langchain_community.callbacks.mlflow_callback.construct_html_from_prompt_and_generation(prompt: str, generation: str) Any[source]¶

Construct an html element from a prompt and a generation.

Parameters
  • prompt (str) – The prompt.

  • generation (str) – The generation.

Returns

The html string.

Return type

(str)