log_chat_completion
log_chat_completion(
invocation_id: UUID,
client_id: int,
wrapper_id: int,
agent: str | Agent,
request: dict[str, float | str | list[dict[str, str]]],
response: "str | 'ChatCompletion'",
is_cached: int,
cost: float,
start_time: str
) -> None
| Name | Description |
|---|---|
invocation_id | Type: uuid.UUID |
client_id | Type: int |
wrapper_id | Type: int |
agent | Type: str | Agent |
request | Type: dict[str, float | str | list[dict[str, str]]] |
response | Type: “str | ‘ChatCompletion‘“ |
is_cached | Type: int |
cost | Type: float |
start_time | Type: str |