- Add `type_`, `truncate`, and `late_chunking` parameters to the `create_embeddings` function for finer control over embedding generation. This allows users to specify embedding type, truncation method, and whether to apply late chunking. - Rename model parameter to `model` for clarity and consistency. - Improve model enum naming for better readability and API consistency. - Add unit tests for the `create_embeddings` function to ensure correct functionality and handle potential errors.
jina
see https://jina.ai/
To get started
import freeflowuniverse.herolib.clients. jina
mut client:= jina.get()!
client...
example heroscript
!!jina.configure
secret: '...'
host: 'localhost'
port: 8888