Skip to content

Add support for URL input to Runtime Image #286

Open

Description

@malgamves

Currently, running a generative search with an image input doesn't support URLs as in input parameter...

i.e

response = await myCollection.generate.nearText("Movies", {
  groupedTask: {
    prompt: "Which movie is closest to the image in terms of atmosphere",
    images: [base64String],      // A list of base64 encoded strings of the image bytes
    // imageProperties: ["img"], // Properties containing images in Weaviate
}
  config: generativeParameters.anthropic({
    maxTokens: 1000
  }),
}, {
  limit: 5,
})

Could we support having a list of URLs as an input.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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