weaviate / weaviate/typescript-client
Add support for URL input to Runtime Image
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 101
- Forks
- 38
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 2
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how Runtime Image inputs are handled for generative search in the TypeScript client, using the example in the issue as the expected entry point. Determine how the existing base64 image input is represented, then verify that a list of image URLs is accepted alongside it and behaves as requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100