@llamaindex/anthropic
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -462,4 +462,3 @@ import { LLMAgentWorker, LLMAgent } from '@llamaindex/core/agent'; | ||
constructor(init){ | ||
super(); | ||
this.getModelName = (model)=>{ | ||
super(), this.getModelName = (model)=>{ | ||
if (Object.keys(AVAILABLE_ANTHROPIC_MODELS_WITHOUT_DATE).includes(model)) { | ||
@@ -469,4 +468,3 @@ return AVAILABLE_ANTHROPIC_MODELS_WITHOUT_DATE[model]; | ||
return model; | ||
}; | ||
_initProto(this); | ||
}, _initProto(this); | ||
this.model = init?.model ?? "claude-3-opus"; | ||
@@ -473,0 +471,0 @@ this.temperature = init?.temperature ?? 0.1; |
{ | ||
"name": "@llamaindex/anthropic", | ||
"description": "Anthropic Adapter for LlamaIndex", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"type": "module", | ||
@@ -34,4 +34,4 @@ "main": "./dist/index.cjs", | ||
"remeda": "^2.12.0", | ||
"@llamaindex/core": "0.3.1", | ||
"@llamaindex/env": "0.1.14" | ||
"@llamaindex/core": "0.3.2", | ||
"@llamaindex/env": "0.1.15" | ||
}, | ||
@@ -38,0 +38,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63659
1548
+ Added@llamaindex/core@0.3.2(transitive)
+ Added@llamaindex/env@0.1.15(transitive)
- Removed@llamaindex/core@0.3.1(transitive)
- Removed@llamaindex/env@0.1.14(transitive)
Updated@llamaindex/core@0.3.2
Updated@llamaindex/env@0.1.15