openai.internal._file_name

(internal) The filename an `input_file` part carries. The API wants one alongside `file_data`, and the basename of the source is more useful than a constant.

Reference version

Signature

function openai.internal._file_name(source: string | null) -> string

(internal) The filename an input_file part carries. The API wants one alongside file_data, and the basename of the source is more useful than a constant.

Source:<builtin>/openai/ns_internal/responses.bamlbytes 971910071