Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Conversation

@mattjohnsonpint
Copy link
Contributor

@mattjohnsonpint mattjohnsonpint commented Jun 24, 2024

Input type can be any of:

  • string
  • array of strings
  • array of integers
  • array of array of integers

(Arrays of integers are for pre-tokenized input.)

See https://platform.openai.com/docs/api-reference/embeddings/create#embeddings-create-input

Completes HYP-1519

@mattjohnsonpint mattjohnsonpint requested a review from a team June 24, 2024 04:37
@mattjohnsonpint mattjohnsonpint enabled auto-merge (squash) June 24, 2024 04:38
@mattjohnsonpint mattjohnsonpint merged commit 607fb4b into main Jun 24, 2024
@mattjohnsonpint mattjohnsonpint deleted the mjp/openai-embedder branch June 24, 2024 06:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants