Skip to content

File uploading for embedding via API ? #182

@digitalassassins

Description

@digitalassassins

Can't find any mention of file uploads via API calls, OpenAI API endpoints have /v1/files
But when I upload the file, it takes time, as if it is uploading, then I get an error.

I've noticed LM Studio uses a built-in tool, rag-v1. If we call that tool via chat in the API, how do we upload the file? Or is this simply not possible?

Would I need to add another layer to break down the document with LangChain and add embeddings via LM Studio text embedding?

No reference to any documentation about working with files with the web API, only found image uploads..

Any help would be appreciated😁

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions