modelfusion 0.41.0 → 0.41.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
1
  import { FunctionOptions } from "../../core/FunctionOptions.js";
2
2
  import { PromptFormat } from "../../prompt/PromptFormat.js";
3
3
  import { PromptFormatTextGenerationModel } from "../../prompt/PromptFormatTextGenerationModel.js";
4
+ import { PromptFormatTextStreamingModel } from "../../prompt/PromptFormatTextStreamingModel.js";
5
+ import { Delta } from "../Delta.js";
4
6
  import { Model, ModelSettings } from "../Model.js";
5
7
  import { BasicTokenizer, FullTokenizer } from "../tokenize-text/Tokenizer.js";
6
- import { Delta } from "../Delta.js";
7
- import { PromptFormatTextStreamingModel } from "index.js";
8
8
  export interface TextGenerationModelSettings extends ModelSettings {
9
9
  /**
10
10
  * Maximum number of tokens to generate.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "modelfusion",
3
3
  "description": "Build multimodal applications, chatbots, and agents with JavaScript and TypeScript.",
4
- "version": "0.41.0",
4
+ "version": "0.41.1",
5
5
  "author": "Lars Grammel",
6
6
  "license": "MIT",
7
7
  "keywords": [
@@ -1,4 +1,4 @@
1
- import { FunctionOptions } from "core";
1
+ import { FunctionOptions } from "../core/FunctionOptions";
2
2
  export interface Retriever<OBJECT, QUERY> {
3
3
  retrieve(query: QUERY, options?: FunctionOptions): Promise<OBJECT[]>;
4
4
  }