Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
xiahbu opened this issue Oct 10, 2024 · 2 comments
Closed
1 task done

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

xiahbu opened this issue Oct 10, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@xiahbu
Copy link

xiahbu commented Oct 10, 2024

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

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 xiahbu added the bug Something isn't working label Oct 10, 2024
@Programmer-RD-AI
Copy link

Hi,

Thank you for reporting this! This issue seems to be the same as the one discussed in #1498. Could you please take a look there for updates and context? If you feel there’s any additional detail or difference in your case, feel free to add it here or in the referenced issue.

Thanks!

@RobertCraigie
Copy link
Collaborator

Thanks for reporting!

This sounds like an issue with the underlying OpenAI API and not the SDK, so I'm going to go ahead and close this issue.

Would you mind reposting at community.openai.com?

@RobertCraigie RobertCraigie closed this as not planned Won't fix, can't repro, duplicate, stale Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants