Skip to content

file content function is not working #2366

Open
@rakeshsilswal

Description

@rakeshsilswal

Confirm this is an issue with the Python library and not an underlying OpenAI API

  • This is an issue with the Python library

Describe the bug

vector_stores.files.content(vector_store_id="something", file_id="something_else") is yielding 404.

openai.NotFoundError: Error code: 404 - {'error': {'code': '404', 'message': 'Resource not found'}}

this setup is in Azure, and using (openai-1.79.0) and i believe this end-point has not been enabled. f"/vector_stores/{vector_store_id}/files/{file_id}/content",

To Reproduce

call content function, which is part of vector_stores/files, and it will fail.

Code snippets

OS

windows

Python version

3.11

Library version

1.79.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions