Skip to content

distill::teacher::_ResponseWrapper

More...

Public Functions

Name
init(self self, dict uniform)

Public Attributes

Name
message
content
prompt_tokens
completion_tokens
choices
usage

Protected Attributes

Name
_raw_response

Detailed Description

class distill::teacher::_ResponseWrapper;
Lightweight adapter that makes a uniform backend dict look like an
OpenAI ``chat.completions.create`` response for backward compatibility.```

## Public Functions Documentation

### function __init__

```python
__init__(
    self self,
    dict uniform
)

Public Attributes Documentation

variable message

message;

variable content

content;

variable prompt_tokens

prompt_tokens;

variable completion_tokens

completion_tokens;

variable choices

choices;

variable usage

usage;

Protected Attributes Documentation

variable _raw_response

_raw_response;

Updated on 2026-07-25 at 22:56:57 +0000