Using the platform.openai.com website, I see my list of uploaded files. I select one, I see that it has a filename. A copy its vector_store_id
and file_id
. However, when I retrieve this file using the API, the filename does not apear. How to solve this?
file=client.beta.vector_stores.files.retrieve(vector_store_id=vector_store_id, file_id=file_id)
print(file.to_json())
{
"id": "file-Z80edd3ZDAkbrm43V....",
"created_at": 1724176263,
"last_error": null,
"object": "vector_store.file",
"status": "completed",
"usage_bytes": 3616248,
"vector_store_id": "vs_GX6dQ1CuAlkpYKVrHB....",
"chunking_strategy": {
"static": {
"chunk_overlap_tokens": 400,
"max_chunk_size_tokens": 800
},
"type": "static"
}
}