Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Embedder type #1637

Closed
mdubus opened this issue Mar 12, 2024 · 0 comments
Closed

Update Embedder type #1637

mdubus opened this issue Mar 12, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@mdubus
Copy link
Member

mdubus commented Mar 12, 2024

Description
The Embedder type is currently defined like this:

export type Embedder =
  | OpenAiEmbedder
  | HuggingFaceEmbedder
  | UserProvidedEmbedder

I should accept null too since this is a valid value (we can update the embedders and set one to null when we want to delete it)

Expected behavior
Accept null as a valid value

@mdubus mdubus added the enhancement New feature or request label Mar 12, 2024
@curquiza curquiza added the good first issue Good for newcomers label Mar 12, 2024
@Strift Strift closed this as completed May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants