assistant_file = client.beta.assistants.files.create(
assistant_id = st.session_state.assistant_id,
file_id = st.session_state.file_id
)
I have this code which I have to integrate but it’s showing up that “Assistants” have no attribute “file”, this code is around 8 months old, and I understand that the API probably changed since then, but I cannot find any alternatives to this in the documentation. Does anyone have any experience in migrating this code ?