construct_html_from_prompt_and_generation#

langchain_community.callbacks.wandb_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 element.

Return type:

(wandb.Html)