Skip to content
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

OpenAI missing a way to upload file #403

Open
12 tasks
Paroca72 opened this issue May 7, 2024 · 2 comments
Open
12 tasks

OpenAI missing a way to upload file #403

Paroca72 opened this issue May 7, 2024 · 2 comments
Labels
p:openai_dart openai_dart package. t:enhancement New feature or request

Comments

@Paroca72
Copy link

Paroca72 commented May 7, 2024

System Info

Flutter

Related Components

  • doc-loaders
  • doc-transformers
  • prompts
  • llms
  • chat-models
  • output-parsers
  • chains
  • memory
  • stores
  • embeddings
  • retrievers
  • agents

Reproduction

Very thanks for this library.. is very useful.

I'm not able to find a way to upload file to AI.
To understand better is what in phyton was:

file = client.files.create(
  file=open("edgar/aapl-10k.pdf", "rb"), purpose="assistants"
)

Thanks for your help
Sam

Expected behavior

client.createFile(...)

@Paroca72 Paroca72 added the t:bug Something isn't working label May 7, 2024
@davidmigloz davidmigloz added t:enhancement New feature or request p:openai_dart openai_dart package. and removed t:bug Something isn't working labels May 13, 2024
@peoplesdriver
Copy link

hi, any update on this?

@davidmigloz
Copy link
Owner

This is currently blocked by this issue in the OpenAPI generator we use to generate the openai_dart client.

It could also be added manually to the client for the time being.

I don't have bandwidth to work on this at the moment, so it'd great if someone can send a PR 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p:openai_dart openai_dart package. t:enhancement New feature or request
Projects
Status: 📋 Backlog
Development

No branches or pull requests

3 participants