class_docstr: Class to resolve the request/response from the Cohere API and convert it to a dictionary that can be logged.
class_docstr_tok: ["Class","to","resolve","the","request\/response","from","the","Cohere","API","and","convert","it","to","a","dictionary","that","can","be","logged","."]
code: def _resolve_classify_kwargs(
      self, kwargs: Dict[str, Any]
  ) -> Dict[str, Any]:
      # Example texts look strange when rendered in Wandb UI as it is a list of text and label
      # We extract each value into its own column
      example_texts = []
      example_labels = []
      for example in kwargs["examples"]:
          example_texts.append(example.text)
          example_labels.append(example.label)
      kwargs.pop("examples")
      kwargs["example_texts"] = example_texts
      kwargs["example_labels"] = example_labels
      return kwargs
  
file_path: wandb/wandb/integration/cohere/resolver.py
imports: import logging
  from datetime import datetime
  from typing import Any, Dict, List, Optional, Sequence, Tuple
  import wandb
  from wandb.sdk.integration_utils.auto_logging import Response
  from wandb.sdk.lib.runid import generate_id
label_desc: Use image node_id 5 for calling the CohereRequestResponseResolver obj's underlying member method code with example usage: obj._resolve_classify_kwargs(kwargs) and returns: kwargs