Function retrieve_file

Source
pub fn retrieve_file(id: impl AsRef<str>) -> Result<FileObject, LlamaCoreError>
Expand description

Retrieve information about a specific file by id.

§Arguments

  • id: The id of the target file.

§Returns

A FileObject instance.