openai-python icon indicating copy to clipboard operation
openai-python copied to clipboard

AttributeError: 'FileCitation' object has no attribute 'quote'

Open xiahbu opened this issue 1 year ago • 0 comments

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

  • [X] This is an issue with the Python library

Describe the bug

I am on v1.51.2 and seems like the attribute quote has not been fixed since 1.34.0. Do we have any alternative to this?

To Reproduce

Create an assistant with files associated ask a question that has filecitation check to get the file_citation.quote

Code snippets

No response

OS

Windows

Python version

Python 3.10.11

Library version

openai v1.51.2

xiahbu avatar Oct 10 '24 19:10 xiahbu