File tree Expand file tree Collapse file tree 6 files changed +8123
-10079
lines changed Expand file tree Collapse file tree 6 files changed +8123
-10079
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @langchain/community " : patch
3
+ ---
4
+
5
+ create index aurora dsql
Original file line number Diff line number Diff line change 24
24
"author" : " LangChain" ,
25
25
"license" : " MIT" ,
26
26
"dependencies" : {
27
- "@aws-sdk/dsql-signer" : " ^3.738 .0" ,
27
+ "@aws-sdk/dsql-signer" : " ^3.844 .0" ,
28
28
"@azure/identity" : " ^4.2.1" ,
29
29
"@browserbasehq/stagehand" : " ^1.3.0" ,
30
30
"@clickhouse/client" : " ^0.2.5" ,
Original file line number Diff line number Diff line change 58
58
"@aws-sdk/client-sagemaker-runtime" : " ^3.749.0" ,
59
59
"@aws-sdk/client-sfn" : " ^3.749.0" ,
60
60
"@aws-sdk/credential-provider-node" : " ^3.749.0" ,
61
- "@aws-sdk/dsql-signer" : " ^3.738 .0" ,
61
+ "@aws-sdk/dsql-signer" : " ^3.844 .0" ,
62
62
"@aws-sdk/types" : " ^3.734.0" ,
63
63
"@azure/search-documents" : " ^12.0.0" ,
64
64
"@azure/storage-blob" : " ^12.15.0" ,
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ export class AuroraDsqlChatMessageHistory extends BaseListChatMessageHistory {
114
114
115
115
const query = `
116
116
CREATE TABLE IF NOT EXISTS ${ this . tableName } (
117
- id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
117
+ id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
118
118
created_at timestamp default current_timestamp,
119
119
session_id VARCHAR(255) NOT NULL,
120
120
message TEXT NOT NULL
@@ -138,7 +138,7 @@ export class AuroraDsqlChatMessageHistory extends BaseListChatMessageHistory {
138
138
}
139
139
140
140
private async createIndex ( ) {
141
- const query = `CREATE INDEX IF NOT EXISTS idx_on_session_id on ${ this . tableName } (session_id);` ;
141
+ const query = `CREATE INDEX ASYNC IF NOT EXISTS idx_on_session_id on ${ this . tableName } (session_id);` ;
142
142
await this . pool . query ( query ) ;
143
143
}
144
144
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ async function getAdminAuthToken() {
15
15
credentials : {
16
16
accessKeyId : process . env . AWS_ACCESS_KEY_ID ! ,
17
17
secretAccessKey : process . env . AWS_SECRET_ACCESS_KEY ! ,
18
- // sessionToken: process.env.AWS_SESSION_TOKEN!
18
+ // sessionToken: process.env.AWS_SESSION_TOKEN!,
19
19
} ,
20
20
} ) ;
21
21
return await signer . getDbConnectAdminAuthToken ( ) ;
You can’t perform that action at this time.
0 commit comments