@absolutejs/ai 0.1.0 → 0.1.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.
- package/CHANGELOG.md +10 -0
- package/README.md +23 -2
- package/changelog.json +119 -96
- package/dist/ai/index.js +38 -5
- package/dist/ai/index.js.map +3 -3
- package/dist/src/ai/prepareTextInput.d.ts +4 -0
- package/package.json +1 -1
|
@@ -15,6 +15,10 @@ export type PreparedAITextInput = {
|
|
|
15
15
|
};
|
|
16
16
|
export type PrepareAITextInputOptions = {
|
|
17
17
|
contextBudget?: AIContextBudget;
|
|
18
|
+
/** Optional model on the same provider for source-note preparation only.
|
|
19
|
+
* The final request retains params.model. Validate quality for your workload
|
|
20
|
+
* before choosing a cheaper model; originals must remain available. */
|
|
21
|
+
preparationModel?: string;
|
|
18
22
|
/** Final instructions/tools used only after compaction, counted before reading
|
|
19
23
|
* the source. Retrieval tools must not be added after preparation has fitted
|
|
20
24
|
* the final request. The direct, already-fitting request is unchanged. */
|