@lobehub/chat 1.136.2 → 1.136.4
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.
- package/CHANGELOG.md +50 -0
- package/changelog/v1.json +18 -0
- package/docs/development/database-schema.dbml +121 -0
- package/package.json +2 -2
- package/packages/const/src/hotkeys.ts +12 -0
- package/packages/database/migrations/0037_add_user_memory.sql +111 -0
- package/packages/database/migrations/meta/0037_snapshot.json +7574 -0
- package/packages/database/migrations/meta/_journal.json +7 -0
- package/packages/database/src/core/migrations.json +29 -0
- package/packages/database/src/repositories/tableViewer/index.test.ts +1 -1
- package/packages/database/src/schemas/index.ts +1 -0
- package/packages/database/src/schemas/userMemories.ts +210 -0
- package/packages/database/src/utils/idGenerator.ts +1 -0
- package/packages/model-bank/src/aiModels/aihubmix.ts +11 -6
- package/packages/model-bank/src/aiModels/anthropic.ts +1 -0
- package/packages/model-bank/src/aiModels/azure.ts +1 -0
- package/packages/model-bank/src/aiModels/bedrock.ts +1 -0
- package/packages/model-bank/src/aiModels/deepseek.ts +1 -0
- package/packages/model-bank/src/aiModels/google.ts +1 -0
- package/packages/model-bank/src/aiModels/moonshot.ts +1 -0
- package/packages/model-bank/src/aiModels/openai.ts +18 -16
- package/packages/model-bank/src/aiModels/zhipu.ts +32 -30
- package/packages/model-bank/src/types/aiModel.ts +4 -0
- package/packages/model-runtime/src/providers/google/index.ts +2 -0
- package/packages/model-runtime/src/types/chat.ts +12 -0
- package/packages/types/src/hotkey.ts +2 -0
- package/packages/web-crawler/src/crawImpl/__tests__/naive.test.ts +3 -3
- package/packages/web-crawler/src/crawImpl/naive.ts +2 -1
- package/src/app/[variants]/(main)/discover/(detail)/features/ShareButton.tsx +14 -11
- package/src/components/BrowserIcon/index.tsx +0 -2
- package/src/hooks/useHotkeys/chatScope.ts +34 -0
- package/src/hooks/useShare.tsx +0 -2
- package/src/locales/default/hotkey.ts +8 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,56 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 1.136.4](https://github.com/lobehub/lobe-chat/compare/v1.136.3...v1.136.4)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2025-10-10**</sup>
|
|
8
|
+
|
|
9
|
+
#### 🐛 Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **misc**: Add 'gemini-2.5-flash-image' to disabled models Thinking.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### What's fixed
|
|
19
|
+
|
|
20
|
+
- **misc**: Add 'gemini-2.5-flash-image' to disabled models Thinking, closes [#9633](https://github.com/lobehub/lobe-chat/issues/9633) ([771b585](https://github.com/lobehub/lobe-chat/commit/771b585))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
### [Version 1.136.3](https://github.com/lobehub/lobe-chat/compare/v1.136.2...v1.136.3)
|
|
31
|
+
|
|
32
|
+
<sup>Released on **2025-10-10**</sup>
|
|
33
|
+
|
|
34
|
+
#### 💄 Styles
|
|
35
|
+
|
|
36
|
+
- **misc**: Add delete & regenerate hotkeys.
|
|
37
|
+
|
|
38
|
+
<br/>
|
|
39
|
+
|
|
40
|
+
<details>
|
|
41
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
42
|
+
|
|
43
|
+
#### Styles
|
|
44
|
+
|
|
45
|
+
- **misc**: Add delete & regenerate hotkeys, closes [#9538](https://github.com/lobehub/lobe-chat/issues/9538) ([d948580](https://github.com/lobehub/lobe-chat/commit/d948580))
|
|
46
|
+
|
|
47
|
+
</details>
|
|
48
|
+
|
|
49
|
+
<div align="right">
|
|
50
|
+
|
|
51
|
+
[](#readme-top)
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
|
|
5
55
|
### [Version 1.136.2](https://github.com/lobehub/lobe-chat/compare/v1.136.1...v1.136.2)
|
|
6
56
|
|
|
7
57
|
<sup>Released on **2025-10-10**</sup>
|
package/changelog/v1.json
CHANGED
|
@@ -1,4 +1,22 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"children": {
|
|
4
|
+
"fixes": [
|
|
5
|
+
"Add 'gemini-2.5-flash-image' to disabled models Thinking."
|
|
6
|
+
]
|
|
7
|
+
},
|
|
8
|
+
"date": "2025-10-10",
|
|
9
|
+
"version": "1.136.4"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"children": {
|
|
13
|
+
"improvements": [
|
|
14
|
+
"Add delete & regenerate hotkeys."
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"date": "2025-10-10",
|
|
18
|
+
"version": "1.136.3"
|
|
19
|
+
},
|
|
2
20
|
{
|
|
3
21
|
"children": {
|
|
4
22
|
"improvements": [
|
|
@@ -965,6 +965,127 @@ table users {
|
|
|
965
965
|
updated_at "timestamp with time zone" [not null, default: `now()`]
|
|
966
966
|
}
|
|
967
967
|
|
|
968
|
+
table user_memories {
|
|
969
|
+
id varchar(255) [pk, not null]
|
|
970
|
+
user_id text
|
|
971
|
+
memory_category varchar(255)
|
|
972
|
+
memory_layer varchar(255)
|
|
973
|
+
memory_type varchar(255)
|
|
974
|
+
title varchar(255)
|
|
975
|
+
summary text
|
|
976
|
+
summary_vector_1024 vector(1024)
|
|
977
|
+
details text
|
|
978
|
+
details_vector_1024 vector(1024)
|
|
979
|
+
status varchar(255)
|
|
980
|
+
accessed_count bigint [default: 0]
|
|
981
|
+
last_accessed_at "timestamp with time zone" [not null]
|
|
982
|
+
accessed_at "timestamp with time zone" [not null, default: `now()`]
|
|
983
|
+
created_at "timestamp with time zone" [not null, default: `now()`]
|
|
984
|
+
updated_at "timestamp with time zone" [not null, default: `now()`]
|
|
985
|
+
|
|
986
|
+
indexes {
|
|
987
|
+
summary_vector_1024 [name: 'user_memories_summary_vector_1024_index']
|
|
988
|
+
details_vector_1024 [name: 'user_memories_details_vector_1024_index']
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
table user_memories_contexts {
|
|
993
|
+
id varchar(255) [pk, not null]
|
|
994
|
+
user_memory_ids jsonb
|
|
995
|
+
labels jsonb
|
|
996
|
+
extracted_labels jsonb
|
|
997
|
+
associated_objects jsonb
|
|
998
|
+
associated_subjects jsonb
|
|
999
|
+
title text
|
|
1000
|
+
title_vector vector(1024)
|
|
1001
|
+
description text
|
|
1002
|
+
description_vector vector(1024)
|
|
1003
|
+
type varchar(255)
|
|
1004
|
+
current_status text
|
|
1005
|
+
score_impact numeric [default: 0]
|
|
1006
|
+
score_urgency numeric [default: 0]
|
|
1007
|
+
accessed_at "timestamp with time zone" [not null, default: `now()`]
|
|
1008
|
+
created_at "timestamp with time zone" [not null, default: `now()`]
|
|
1009
|
+
updated_at "timestamp with time zone" [not null, default: `now()`]
|
|
1010
|
+
|
|
1011
|
+
indexes {
|
|
1012
|
+
title_vector [name: 'user_memories_contexts_title_vector_index']
|
|
1013
|
+
description_vector [name: 'user_memories_contexts_description_vector_index']
|
|
1014
|
+
type [name: 'user_memories_contexts_type_index']
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
table user_memories_experiences {
|
|
1019
|
+
id varchar(255) [pk, not null]
|
|
1020
|
+
user_memory_id text
|
|
1021
|
+
labels jsonb
|
|
1022
|
+
extracted_labels jsonb
|
|
1023
|
+
type varchar(255)
|
|
1024
|
+
situation text
|
|
1025
|
+
situation_vector vector(1024)
|
|
1026
|
+
reasoning text
|
|
1027
|
+
possible_outcome text
|
|
1028
|
+
action text
|
|
1029
|
+
action_vector vector(1024)
|
|
1030
|
+
key_learning text
|
|
1031
|
+
key_learning_vector vector(1024)
|
|
1032
|
+
metadata jsonb
|
|
1033
|
+
score_confidence real [default: 0]
|
|
1034
|
+
accessed_at "timestamp with time zone" [not null, default: `now()`]
|
|
1035
|
+
created_at "timestamp with time zone" [not null, default: `now()`]
|
|
1036
|
+
updated_at "timestamp with time zone" [not null, default: `now()`]
|
|
1037
|
+
|
|
1038
|
+
indexes {
|
|
1039
|
+
situation_vector [name: 'user_memories_experiences_situation_vector_index']
|
|
1040
|
+
action_vector [name: 'user_memories_experiences_action_vector_index']
|
|
1041
|
+
key_learning_vector [name: 'user_memories_experiences_key_learning_vector_index']
|
|
1042
|
+
type [name: 'user_memories_experiences_type_index']
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
table user_memories_identities {
|
|
1047
|
+
current_focuses text
|
|
1048
|
+
description text
|
|
1049
|
+
description_vector vector(1024)
|
|
1050
|
+
experience text
|
|
1051
|
+
extracted_labels jsonb
|
|
1052
|
+
id varchar(255) [pk, not null]
|
|
1053
|
+
labels jsonb
|
|
1054
|
+
relationship text
|
|
1055
|
+
role text
|
|
1056
|
+
type varchar(255)
|
|
1057
|
+
user_memory_id text
|
|
1058
|
+
accessed_at "timestamp with time zone" [not null, default: `now()`]
|
|
1059
|
+
created_at "timestamp with time zone" [not null, default: `now()`]
|
|
1060
|
+
updated_at "timestamp with time zone" [not null, default: `now()`]
|
|
1061
|
+
|
|
1062
|
+
indexes {
|
|
1063
|
+
description_vector [name: 'user_memories_identities_description_vector_index']
|
|
1064
|
+
type [name: 'user_memories_identities_type_index']
|
|
1065
|
+
}
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
table user_memories_preferences {
|
|
1069
|
+
id varchar(255) [pk, not null]
|
|
1070
|
+
context_id varchar(255)
|
|
1071
|
+
user_memory_id varchar(255)
|
|
1072
|
+
labels jsonb
|
|
1073
|
+
extracted_labels jsonb
|
|
1074
|
+
extracted_scopes jsonb
|
|
1075
|
+
conclusion_directives text
|
|
1076
|
+
conclusion_directives_vector vector(1024)
|
|
1077
|
+
type varchar(255)
|
|
1078
|
+
suggestions text
|
|
1079
|
+
score_priority numeric [default: 0]
|
|
1080
|
+
accessed_at "timestamp with time zone" [not null, default: `now()`]
|
|
1081
|
+
created_at "timestamp with time zone" [not null, default: `now()`]
|
|
1082
|
+
updated_at "timestamp with time zone" [not null, default: `now()`]
|
|
1083
|
+
|
|
1084
|
+
indexes {
|
|
1085
|
+
conclusion_directives_vector [name: 'user_memories_preferences_conclusion_directives_vector_index']
|
|
1086
|
+
}
|
|
1087
|
+
}
|
|
1088
|
+
|
|
968
1089
|
ref: agents_files.file_id > files.id
|
|
969
1090
|
|
|
970
1091
|
ref: agents_files.agent_id > agents.id
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/chat",
|
|
3
|
-
"version": "1.136.
|
|
3
|
+
"version": "1.136.4",
|
|
4
4
|
"description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"framework",
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
"@formkit/auto-animate": "^0.9.0",
|
|
141
141
|
"@google/genai": "^1.19.0",
|
|
142
142
|
"@huggingface/inference": "^2.8.1",
|
|
143
|
-
"@icons-pack/react-simple-icons": "
|
|
143
|
+
"@icons-pack/react-simple-icons": "^13.8.0",
|
|
144
144
|
"@khmyznikov/pwa-install": "0.3.9",
|
|
145
145
|
"@langchain/community": "^0.3.55",
|
|
146
146
|
"@lobechat/agent-runtime": "workspace:*",
|
|
@@ -71,6 +71,18 @@ export const HOTKEYS_REGISTRATION: HotkeyRegistration = [
|
|
|
71
71
|
keys: combineKeys([KeyEnum.Alt, 'r']),
|
|
72
72
|
scopes: [HotkeyScopeEnum.Chat],
|
|
73
73
|
},
|
|
74
|
+
{
|
|
75
|
+
group: HotkeyGroupEnum.Conversation,
|
|
76
|
+
id: HotkeyEnum.DeleteLastMessage,
|
|
77
|
+
keys: combineKeys([KeyEnum.Alt, 'd']),
|
|
78
|
+
scopes: [HotkeyScopeEnum.Chat],
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
group: HotkeyGroupEnum.Conversation,
|
|
82
|
+
id: HotkeyEnum.DeleteAndRegenerateMessage,
|
|
83
|
+
keys: combineKeys([KeyEnum.Alt, KeyEnum.Shift, 'r']),
|
|
84
|
+
scopes: [HotkeyScopeEnum.Chat],
|
|
85
|
+
},
|
|
74
86
|
{
|
|
75
87
|
group: HotkeyGroupEnum.Conversation,
|
|
76
88
|
id: HotkeyEnum.SaveTopic,
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
CREATE TABLE IF NOT EXISTS "user_memories" (
|
|
2
|
+
"id" varchar(255) PRIMARY KEY NOT NULL,
|
|
3
|
+
"user_id" text,
|
|
4
|
+
"memory_category" varchar(255),
|
|
5
|
+
"memory_layer" varchar(255),
|
|
6
|
+
"memory_type" varchar(255),
|
|
7
|
+
"title" varchar(255),
|
|
8
|
+
"summary" text,
|
|
9
|
+
"summary_vector_1024" vector(1024),
|
|
10
|
+
"details" text,
|
|
11
|
+
"details_vector_1024" vector(1024),
|
|
12
|
+
"status" varchar(255),
|
|
13
|
+
"accessed_count" bigint DEFAULT 0,
|
|
14
|
+
"last_accessed_at" timestamp with time zone NOT NULL,
|
|
15
|
+
"accessed_at" timestamp with time zone DEFAULT now() NOT NULL,
|
|
16
|
+
"created_at" timestamp with time zone DEFAULT now() NOT NULL,
|
|
17
|
+
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
18
|
+
);
|
|
19
|
+
--> statement-breakpoint
|
|
20
|
+
CREATE TABLE IF NOT EXISTS "user_memories_contexts" (
|
|
21
|
+
"id" varchar(255) PRIMARY KEY NOT NULL,
|
|
22
|
+
"user_memory_ids" jsonb,
|
|
23
|
+
"labels" jsonb,
|
|
24
|
+
"extracted_labels" jsonb,
|
|
25
|
+
"associated_objects" jsonb,
|
|
26
|
+
"associated_subjects" jsonb,
|
|
27
|
+
"title" text,
|
|
28
|
+
"title_vector" vector(1024),
|
|
29
|
+
"description" text,
|
|
30
|
+
"description_vector" vector(1024),
|
|
31
|
+
"type" varchar(255),
|
|
32
|
+
"current_status" text,
|
|
33
|
+
"score_impact" numeric DEFAULT 0,
|
|
34
|
+
"score_urgency" numeric DEFAULT 0,
|
|
35
|
+
"accessed_at" timestamp with time zone DEFAULT now() NOT NULL,
|
|
36
|
+
"created_at" timestamp with time zone DEFAULT now() NOT NULL,
|
|
37
|
+
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
38
|
+
);
|
|
39
|
+
--> statement-breakpoint
|
|
40
|
+
CREATE TABLE IF NOT EXISTS "user_memories_experiences" (
|
|
41
|
+
"id" varchar(255) PRIMARY KEY NOT NULL,
|
|
42
|
+
"user_memory_id" text,
|
|
43
|
+
"labels" jsonb,
|
|
44
|
+
"extracted_labels" jsonb,
|
|
45
|
+
"type" varchar(255),
|
|
46
|
+
"situation" text,
|
|
47
|
+
"situation_vector" vector(1024),
|
|
48
|
+
"reasoning" text,
|
|
49
|
+
"possible_outcome" text,
|
|
50
|
+
"action" text,
|
|
51
|
+
"action_vector" vector(1024),
|
|
52
|
+
"key_learning" text,
|
|
53
|
+
"key_learning_vector" vector(1024),
|
|
54
|
+
"metadata" jsonb,
|
|
55
|
+
"score_confidence" real DEFAULT 0,
|
|
56
|
+
"accessed_at" timestamp with time zone DEFAULT now() NOT NULL,
|
|
57
|
+
"created_at" timestamp with time zone DEFAULT now() NOT NULL,
|
|
58
|
+
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
59
|
+
);
|
|
60
|
+
--> statement-breakpoint
|
|
61
|
+
CREATE TABLE IF NOT EXISTS "user_memories_identities" (
|
|
62
|
+
"current_focuses" text,
|
|
63
|
+
"description" text,
|
|
64
|
+
"description_vector" vector(1024),
|
|
65
|
+
"experience" text,
|
|
66
|
+
"extracted_labels" jsonb,
|
|
67
|
+
"id" varchar(255) PRIMARY KEY NOT NULL,
|
|
68
|
+
"labels" jsonb,
|
|
69
|
+
"relationship" text,
|
|
70
|
+
"role" text,
|
|
71
|
+
"type" varchar(255),
|
|
72
|
+
"user_memory_id" text,
|
|
73
|
+
"accessed_at" timestamp with time zone DEFAULT now() NOT NULL,
|
|
74
|
+
"created_at" timestamp with time zone DEFAULT now() NOT NULL,
|
|
75
|
+
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
76
|
+
);
|
|
77
|
+
--> statement-breakpoint
|
|
78
|
+
CREATE TABLE IF NOT EXISTS "user_memories_preferences" (
|
|
79
|
+
"id" varchar(255) PRIMARY KEY NOT NULL,
|
|
80
|
+
"context_id" varchar(255),
|
|
81
|
+
"user_memory_id" varchar(255),
|
|
82
|
+
"labels" jsonb,
|
|
83
|
+
"extracted_labels" jsonb,
|
|
84
|
+
"extracted_scopes" jsonb,
|
|
85
|
+
"conclusion_directives" text,
|
|
86
|
+
"conclusion_directives_vector" vector(1024),
|
|
87
|
+
"type" varchar(255),
|
|
88
|
+
"suggestions" text,
|
|
89
|
+
"score_priority" numeric DEFAULT 0,
|
|
90
|
+
"accessed_at" timestamp with time zone DEFAULT now() NOT NULL,
|
|
91
|
+
"created_at" timestamp with time zone DEFAULT now() NOT NULL,
|
|
92
|
+
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
93
|
+
);
|
|
94
|
+
--> statement-breakpoint
|
|
95
|
+
ALTER TABLE "user_memories" ADD CONSTRAINT "user_memories_user_id_users_id_fk" FOREIGN KEY ("user_id") REFERENCES "public"."users"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
|
|
96
|
+
ALTER TABLE "user_memories_experiences" ADD CONSTRAINT "user_memories_experiences_user_memory_id_user_memories_id_fk" FOREIGN KEY ("user_memory_id") REFERENCES "public"."user_memories"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
|
|
97
|
+
ALTER TABLE "user_memories_identities" ADD CONSTRAINT "user_memories_identities_user_memory_id_user_memories_id_fk" FOREIGN KEY ("user_memory_id") REFERENCES "public"."user_memories"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
|
|
98
|
+
ALTER TABLE "user_memories_preferences" ADD CONSTRAINT "user_memories_preferences_context_id_user_memories_contexts_id_fk" FOREIGN KEY ("context_id") REFERENCES "public"."user_memories_contexts"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
|
|
99
|
+
ALTER TABLE "user_memories_preferences" ADD CONSTRAINT "user_memories_preferences_user_memory_id_user_memories_id_fk" FOREIGN KEY ("user_memory_id") REFERENCES "public"."user_memories"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
|
|
100
|
+
CREATE INDEX "user_memories_summary_vector_1024_index" ON "user_memories" USING hnsw ("summary_vector_1024" vector_cosine_ops);--> statement-breakpoint
|
|
101
|
+
CREATE INDEX "user_memories_details_vector_1024_index" ON "user_memories" USING hnsw ("details_vector_1024" vector_cosine_ops);--> statement-breakpoint
|
|
102
|
+
CREATE INDEX "user_memories_contexts_title_vector_index" ON "user_memories_contexts" USING hnsw ("title_vector" vector_cosine_ops);--> statement-breakpoint
|
|
103
|
+
CREATE INDEX "user_memories_contexts_description_vector_index" ON "user_memories_contexts" USING hnsw ("description_vector" vector_cosine_ops);--> statement-breakpoint
|
|
104
|
+
CREATE INDEX "user_memories_contexts_type_index" ON "user_memories_contexts" USING btree ("type");--> statement-breakpoint
|
|
105
|
+
CREATE INDEX "user_memories_experiences_situation_vector_index" ON "user_memories_experiences" USING hnsw ("situation_vector" vector_cosine_ops);--> statement-breakpoint
|
|
106
|
+
CREATE INDEX "user_memories_experiences_action_vector_index" ON "user_memories_experiences" USING hnsw ("action_vector" vector_cosine_ops);--> statement-breakpoint
|
|
107
|
+
CREATE INDEX "user_memories_experiences_key_learning_vector_index" ON "user_memories_experiences" USING hnsw ("key_learning_vector" vector_cosine_ops);--> statement-breakpoint
|
|
108
|
+
CREATE INDEX "user_memories_experiences_type_index" ON "user_memories_experiences" USING btree ("type");--> statement-breakpoint
|
|
109
|
+
CREATE INDEX "user_memories_identities_description_vector_index" ON "user_memories_identities" USING hnsw ("description_vector" vector_cosine_ops);--> statement-breakpoint
|
|
110
|
+
CREATE INDEX "user_memories_identities_type_index" ON "user_memories_identities" USING btree ("type");--> statement-breakpoint
|
|
111
|
+
CREATE INDEX "user_memories_preferences_conclusion_directives_vector_index" ON "user_memories_preferences" USING hnsw ("conclusion_directives_vector" vector_cosine_ops);
|