Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Suggestions
Ingest metadata about your LLM inferences
total_token_count_column_name
prompt_token_count_column_name
response_token_count_column_name
response_latency_ms_column_name
class LLMRunMetadata: total_token_count: Optional[int] = None prompt_token_count: Optional[int] = None response_token_count: Optional[int] = None response_latency_ms: Optional[Union[int,float]] = None
total_token_count
promt_token_count
response_token_count
response_latency_ms
from arize.utils.types import LLMRunMetadata # Declare LLM run metadata llm_run_metadata = LLMRunMetadata( total_token_count = 4325, prompt_token_count = 2325, response_token_count = 2000, response_latency_ms = 20000, )
Was this page helpful?