weaviate / weaviate/typescript-client

Enable client to slice base64 string

Open
#250 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
101
Forks
38
Avg merge
4d 12h
Merged PRs (30d)
2

Description

When you convert data to base64, you get a string with this format data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAABQAAA... however, inouting this directly throws and error. Everything works fine if we omit data:image/jpeg;base64,.

Can we make the client parse the string and remove that substring?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the error with a data URI such as data:image/jpeg;base64,... and trace the TypeScript client path that accepts base64 image input. Done means the client accepts the prefixed string as well as the raw base64 value; add or update a regression test if the repository has coverage for this path.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.