Skip to content

Commit df0ce05

Browse files
authored
Merge branch 'main' into dependabot/github_actions/actions-ad3dacec31
2 parents 471bdf4 + a8cce57 commit df0ce05

3 files changed

Lines changed: 36 additions & 32 deletions

File tree

basic/cdk/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"@aws-sdk/credential-provider-node": "^3.913.0",
4343
"@langchain/anthropic": "^1.0.0",
4444
"@langchain/aws": "^1.0.0",
45+
"@langchain/classic": "^1.0.0",
4546
"@langchain/core": "^1.0.1",
4647
"@langchain/langgraph": "^1.0.0",
4748
"@langchain/openai": "^1.0.0",

pnpm-lock.yaml

Lines changed: 35 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rag/cdk/lambda/embeddings-models.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { BedrockEmbeddings } from '@langchain/aws';
22
import { Embeddings } from '@langchain/core/embeddings';
3-
// import { AzureOpenAIEmbeddings } from '@langchain/openai';
43

54
interface EmbeddingsModel {
65
indexName: string
@@ -13,14 +12,6 @@ function selectEmbeddings(
1312
dataSource,
1413
}: { type: string, dataSource: string },
1514
): EmbeddingsModel {
16-
// if (type === 'openai') {
17-
// return {
18-
// indexName: `openai-${dataSource}`,
19-
// model: new AzureOpenAIEmbeddings({
20-
// maxRetries: 1,
21-
// }),
22-
// };
23-
// }
2415
return {
2516
indexName: `titan-${dataSource}`,
2617
model: new BedrockEmbeddings({

0 commit comments

Comments
 (0)