Skip to content

OpenAI missing a way to upload file #403

Open
@Paroca72

Description

@Paroca72

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(...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions