How to insert a audio, video to openAI into a conversation

Supported files:
https://platform.openai.com/docs/assistants/tools/code-interpreter#supported-files

content: [
    { type: 'input_image', file_id: 'file-xx' },
    { type: 'input_text', text: 'what is image?' }
]

content: [
    { type: 'input_file', file_id: 'file-xx' },
    { type: 'input_text', text: 'what is file?' }
]

How about for ask video and audio?

and what is the difference between input files and tools file search?

thanks

Models don’t support video input yet. Some models may support audio input files.

As for code interpreter (tools) it is a virtual machine (container) that is capable of running limited python code. So, it will not process anything AI related, but code that the models may pass to it to perform data analysis. It has no access to internet, only process files you pass to it and only has limited packages.