modelfusion

The TypeScript library for building AI applications.

MIT License

Stars
889
Committers
13

Bot releases are hidden (Show)

modelfusion - v0.56.0

Published by lgrammel 12 months ago

Added

modelfusion - v0.55.1

Published by lgrammel 12 months ago

Fixed

  • Llama.cpp embeddings are invoked sequentially to avoid rejection by the server.
modelfusion - v0.55.0

Published by lgrammel 12 months ago

Added

modelfusion - v0.54.0

Published by lgrammel 12 months ago

Adding experimental ModelFusion server, flows, and browser utils.

Added

  • ModelFusion server (separate export 'modelfusion/server') with a Fastify plugin for running ModelFusion flows on a server.
  • ModelFusion flows.
  • ModelFusion browser utils (separate export 'modelfusion/browser') for dealing with audio data and invoking ModelFusion flows on the server (invokeFlow).

Changed

  • breaking change: readEventSource and readEventSourceStream are now part of 'modelfusion/browser'.
modelfusion - v0.53.2

Published by lgrammel 12 months ago

Added

  • Prompt callback option for streamStructure

Improved

  • Inline JSDoc comments for the model functions.
modelfusion - v0.53.1

Published by lgrammel 12 months ago

Fixed

  • Abort signals and errors during streaming are caught and forwarded correctly.
modelfusion - v0.53.0

Published by lgrammel 12 months ago

Added

  • executeFunction utility function for tracing execution time, parameters, and result of composite functions and non-ModelFusion functions.
modelfusion - v0.52.0

Published by lgrammel 12 months ago

Changed

  • Streaming results and AsyncQueue objects can be used by several consumers. Each consumer will receive all values. This means that you can e.g. forward the same text stream to speech generation and the client.
modelfusion - v0.51.0

Published by lgrammel 12 months ago

ElevenLabs improvements.

Added

  • ElevenLabs model settings outputFormat and optimizeStreamingLatency.

Fixed

  • Default ElevenLabs model is eleven_monolingual_v1.
modelfusion - v0.50.0

Published by lgrammel 12 months ago

Added

  • parentCallId event property
  • Tracing for useTool, useToolOrGenerateText, upsertIntoVectorIndex, and guard

Changed

  • breaking change: rename embedding event type to embed
  • breaking change: rename image-generation event type to generate-image
  • breaking change: rename speech-generation event type to generate-speech
  • breaking change: rename speech-streaming event type to stream-speech
  • breaking change: rename structure-generation event type to generate-structure
  • breaking change: rename structure-or-text-generation event type to generate-structure-or-text
  • breaking change: rename structure-streaming event type to stream-structure
  • breaking change: rename text-generation event type to generate-text
  • breaking change: rename text-streaming event type to stream-text
  • breaking change: rename transcription event type to generate-transcription
modelfusion - v0.49.0

Published by lgrammel 12 months ago

Added

  • Speech synthesis streaming supports string inputs.
  • Observability for speech synthesis streaming.

Changes

  • breaking change: split synthesizeSpeech into generateSpeech and streamSpeech functions
  • breaking change: renamed speech-synthesis event to speech-generation
  • breaking change: renamed transcribe to generateTranscription
  • breaking change: renamed LmntSpeechSynthesisModel to LmntSpeechModel
  • breaking change: renamed ElevenLabesSpeechSynthesisModel to ElevenLabsSpeechModel
  • breaking change: renamed OpenAITextGenerationModel to OpenAICompletionModel

Removed

  • breaking change: describeImage model function. Use generateText instead (with e.g. HuggingFaceImageDescriptionModel).
modelfusion - v0.48.0

Published by lgrammel almost 1 year ago

Added

  • Duplex streaming for speech synthesis.
  • Elevenlabs duplex streaming support.

Changed

  • Schema is using data in return type (breaking change for tools).
modelfusion - v0.47.3

Published by lgrammel about 1 year ago

modelfusion - v0.47.2

Published by lgrammel about 1 year ago

modelfusion - v0.47.1

Published by lgrammel about 1 year ago

modelfusion - v0.47.0

Published by lgrammel about 1 year ago

modelfusion - v0.46.0

Published by lgrammel about 1 year ago

modelfusion - v0.45.3

Published by lgrammel about 1 year ago

modelfusion - v0.45.2

Published by lgrammel about 1 year ago

modelfusion - v0.45.1

Published by lgrammel about 1 year ago

Badges
Extracted from project README
NPM Version MIT License Docs Created by Lars Grammel