in instrumentation/elastic-opentelemetry-instrumentation-openai/src/opentelemetry/instrumentation/openai/helpers.py [0:0]
def _get_attributes_from_response(
response_id: str,
model: str,
choices,
usage: CompletionUsage,
service_tier: Optional[str],