Skip to content

v0.21.1

Choose a tag to compare

@github-actions github-actions released this 25 Nov 16:02
· 507 commits to master since this release

Support OpenAI Compatible Embeddings api

Here is an example for config.yml embeddings part when using OpenAI embeddings:

embedding:
  endpoint: https://api.openai.com/v1/embeddings
  model: text-embedding-ada-002
  num_dim: 1536
  token: sk-xxxx
  use_local: false # should mark as false
  use_modelscope: true # will be ignored when use_local is false

What's Changed

  • feat(embedding): support openai embedding api by @arkohut in #31

New Contributors

Full Changelog: v0.21...v0.21.1