@jerome-benoit/sap-ai-provider 4.7.1 → 4.8.0

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.
Files changed (33) hide show
  1. package/README.md +5 -0
  2. package/dist/{chunk-XIWHF23D.js → chunk-3ZSXTKOK.js} +399 -117
  3. package/dist/{chunk-XIWHF23D.js.map → chunk-3ZSXTKOK.js.map} +1 -1
  4. package/dist/{chunk-OA6TJHD2.js → chunk-BVDSJ4IZ.js} +10 -4
  5. package/dist/chunk-BVDSJ4IZ.js.map +1 -0
  6. package/dist/{chunk-BZWUUBX2.js → chunk-H5KD4EPO.js} +8 -2
  7. package/dist/chunk-H5KD4EPO.js.map +1 -0
  8. package/dist/{chunk-HDOSHLV6.js → chunk-KVOLFUQJ.js} +2 -2
  9. package/dist/{chunk-RUCURXS7.js → chunk-TQXCNZBC.js} +11 -5
  10. package/dist/chunk-TQXCNZBC.js.map +1 -0
  11. package/dist/{foundation-models-embedding-model-strategy-TACUPFS2.js → foundation-models-embedding-model-strategy-SWRJNFD4.js} +7 -6
  12. package/dist/foundation-models-embedding-model-strategy-SWRJNFD4.js.map +1 -0
  13. package/dist/{foundation-models-language-model-strategy-LLWYUGA3.js → foundation-models-language-model-strategy-LRAC25ZY.js} +14 -9
  14. package/dist/foundation-models-language-model-strategy-LRAC25ZY.js.map +1 -0
  15. package/dist/index.cjs +447 -135
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +22 -1
  18. package/dist/index.d.ts +22 -1
  19. package/dist/index.js +14 -10
  20. package/dist/index.js.map +1 -1
  21. package/dist/{orchestration-embedding-model-strategy-RYI3HWRZ.js → orchestration-embedding-model-strategy-C5G735Q2.js} +8 -7
  22. package/dist/orchestration-embedding-model-strategy-C5G735Q2.js.map +1 -0
  23. package/dist/{orchestration-language-model-strategy-NIUPRYDW.js → orchestration-language-model-strategy-NUHYRIXH.js} +16 -10
  24. package/dist/orchestration-language-model-strategy-NUHYRIXH.js.map +1 -0
  25. package/package.json +18 -18
  26. package/dist/chunk-BZWUUBX2.js.map +0 -1
  27. package/dist/chunk-OA6TJHD2.js.map +0 -1
  28. package/dist/chunk-RUCURXS7.js.map +0 -1
  29. package/dist/foundation-models-embedding-model-strategy-TACUPFS2.js.map +0 -1
  30. package/dist/foundation-models-language-model-strategy-LLWYUGA3.js.map +0 -1
  31. package/dist/orchestration-embedding-model-strategy-RYI3HWRZ.js.map +0 -1
  32. package/dist/orchestration-language-model-strategy-NIUPRYDW.js.map +0 -1
  33. /package/dist/{chunk-HDOSHLV6.js.map → chunk-KVOLFUQJ.js.map} +0 -0
package/README.md CHANGED
@@ -648,6 +648,11 @@ authentication, model parameters, data masking, content filtering, and more.
648
648
  `providerOptions`/`providerMetadata`.
649
649
  - `resourceGroup`: SAP AI Core resource group (default: 'default')
650
650
  - `deploymentId`: Specific deployment ID (auto-resolved if not set)
651
+ - `requestConfig`: Custom HTTP request configuration (headers, params, timeout, etc.)
652
+ forwarded to the underlying SAP AI SDK client on every call. Provider-level scope
653
+ only; use `requestConfig.headers` for SAP-specific headers such as
654
+ `AI-Object-Store-Secret-Name` (feedback service). See
655
+ [API Reference](./API_REFERENCE.md#sapaiprovidersettings) for portability caveats.
651
656
  - `modelParams`: Temperature, maxTokens, topP, and other generation parameters
652
657
  - `masking`: SAP Data Privacy Integration (DPI) configuration
653
658
  - `filtering`: Content safety filters (Azure Content Safety, Llama Guard)