Skip to content

Attachment Upload Strategy "hosted" #13

@aerobless

Description

@aerobless

The guide mentions a Upload Strategy called "hosted" but this property doesn't actually exist (relevant code line)

When running it without that property I get:

  composer: {
    placeholder: PLACEHOLDER_INPUT,
    attachments: {
      enabled: true,
      maxCount: 5,
      maxSize: 10485760
    },..
{
  "error": {
    "message": "File uploads are disabled for this session.",
    "type": "invalid_request_error",
    "param": null,
    "code": "chatkit.file_upload_disabled"
  }
}

How to use file uploads with the Open AI hosted backend? Or does it currently only work with a self-hosted backend?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions