@memberjunction/ai 2.127.0 → 2.129.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 (2) hide show
  1. package/package.json +2 -2
  2. package/readme.md +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ai",
3
- "version": "2.127.0",
3
+ "version": "2.129.0",
4
4
  "description": "MemberJunction: AI - core components for abstracting LLMs and other AI model types that are usable anywhere without ANY other MJ dependencies past @memberjunction/global which itself has zero additional dependencies.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -15,7 +15,7 @@
15
15
  "author": "MemberJunction.com",
16
16
  "license": "ISC",
17
17
  "dependencies": {
18
- "@memberjunction/global": "2.127.0",
18
+ "@memberjunction/global": "2.129.0",
19
19
  "dotenv": "^16.4.1",
20
20
  "rxjs": "^7.8.1"
21
21
  },
package/readme.md CHANGED
@@ -850,6 +850,12 @@ AI_VENDOR_API_KEY__ANTHROPIC=your-api-key
850
850
  AI_VENDOR_API_KEY__MISTRAL=your-api-key
851
851
  ```
852
852
 
853
+ > **Advanced Authentication**: When using the full MemberJunction framework with `@memberjunction/ai-prompts`, you can leverage the Credentials system for encrypted, audited credential management with hierarchical resolution. See the [AI Authentication Guide](../Prompts/AI-AUTHENTICATION.md) for details on:
854
+ > - Credential resolution hierarchy (vendor → model → prompt → request)
855
+ > - Integration with the encrypted Credentials system
856
+ > - Support for complex authentication schemes (Azure, AWS, OAuth)
857
+ > - Migration path from environment variables
858
+
853
859
  #### Custom API Key Management
854
860
 
855
861
  You can extend the `AIAPIKeys` class to implement custom API key retrieval logic: