Skip to content

@effect/ai-openai-compat@4.0.0-beta.34

Pre-release
Pre-release

Choose a tag to compare

@effect-bot effect-bot released this 17 Mar 20:21
· 463 commits to main since this release
a2c1e01

Patch Changes

  • #1764 342fc4b Thanks @tim-smart! - Add unstable EmbeddingModel support across core and OpenAI providers.

    • Add the unstable EmbeddingModel module API surface in effect, including service, request, response, and provider types.
    • Implement the unstable EmbeddingModel runtime constructor in effect, with RequestResolver batching, embed / embedMany spans, provider error propagation, deterministic ordering, and empty-input embedMany fast-path behavior.
    • Add and align EmbeddingModel behavior tests in effect for embedding usage, batching, ordering, and error handling.
    • Add OpenAiEmbeddingModel in @effect/ai-openai, including model / make / layer constructors, config overrides, and provider output index validation with deterministic reordering.
    • Add OpenAI-compatible EmbeddingModel provider support in @effect/ai-openai-compat, including config overrides, layer constructors, and output index validation.
  • #1771 00add69 Thanks @tim-smart! - Add EmbeddingModel.ModelDimensions and require dimensions in embedding provider model constructors.

  • Updated dependencies [f2f75ee, 342fc4b, 5d704ee, 00add69, 58217d3, f4e2aba, e3b44b6, e1472b7, 7686320]:

    • effect@4.0.0-beta.34