@@ -112,7 +112,7 @@ export type Database = {
112112 }
113113 Relationships : [
114114 {
115- foreignKeyName : "person_id_fkey "
115+ foreignKeyName : "automated_agent_id_fkey "
116116 columns : [ "id" ]
117117 isOneToOne : true
118118 referencedRelation : "Agent"
@@ -131,8 +131,8 @@ export type Database = {
131131 id : number
132132 is_schema : boolean
133133 last_modified : string
134- last_synced : string
135134 name : string
135+ represented_by_id : number | null
136136 schema_id : number | null
137137 space_id : number | null
138138 }
@@ -146,8 +146,8 @@ export type Database = {
146146 id ?: number
147147 is_schema ?: boolean
148148 last_modified : string
149- last_synced : string
150149 name : string
150+ represented_by_id ?: number | null
151151 schema_id ?: number | null
152152 space_id ?: number | null
153153 }
@@ -161,8 +161,8 @@ export type Database = {
161161 id ?: number
162162 is_schema ?: boolean
163163 last_modified ?: string
164- last_synced ?: string
165164 name ?: string
165+ represented_by_id ?: number | null
166166 schema_id ?: number | null
167167 space_id ?: number | null
168168 }
@@ -174,6 +174,13 @@ export type Database = {
174174 referencedRelation : "Agent"
175175 referencedColumns : [ "id" ]
176176 } ,
177+ {
178+ foreignKeyName : "Concept_represented_by_id_fkey"
179+ columns : [ "represented_by_id" ]
180+ isOneToOne : false
181+ referencedRelation : "Content"
182+ referencedColumns : [ "id" ]
183+ } ,
177184 {
178185 foreignKeyName : "Concept_schema_id_fkey"
179186 columns : [ "schema_id" ]
@@ -228,10 +235,8 @@ export type Database = {
228235 document_id : number
229236 id : number
230237 last_modified : string
231- last_synced : string
232238 metadata : Json
233239 part_of_id : number | null
234- represents_id : number | null
235240 scale : Database [ "public" ] [ "Enums" ] [ "Scale" ]
236241 source_local_id : string | null
237242 space_id : number | null
@@ -244,10 +249,8 @@ export type Database = {
244249 document_id : number
245250 id ?: number
246251 last_modified : string
247- last_synced : string
248252 metadata ?: Json
249253 part_of_id ?: number | null
250- represents_id ?: number | null
251254 scale : Database [ "public" ] [ "Enums" ] [ "Scale" ]
252255 source_local_id ?: string | null
253256 space_id ?: number | null
@@ -260,10 +263,8 @@ export type Database = {
260263 document_id ?: number
261264 id ?: number
262265 last_modified ?: string
263- last_synced ?: string
264266 metadata ?: Json
265267 part_of_id ?: number | null
266- represents_id ?: number | null
267268 scale ?: Database [ "public" ] [ "Enums" ] [ "Scale" ]
268269 source_local_id ?: string | null
269270 space_id ?: number | null
@@ -298,13 +299,6 @@ export type Database = {
298299 referencedRelation : "Content"
299300 referencedColumns : [ "id" ]
300301 } ,
301- {
302- foreignKeyName : "Content_represents_id_fkey"
303- columns : [ "represents_id" ]
304- isOneToOne : false
305- referencedRelation : "Concept"
306- referencedColumns : [ "id" ]
307- } ,
308302 {
309303 foreignKeyName : "Content_space_id_fkey"
310304 columns : [ "space_id" ]
@@ -427,7 +421,6 @@ export type Database = {
427421 created : string
428422 id : number
429423 last_modified : string
430- last_synced : string
431424 metadata : Json
432425 source_local_id : string | null
433426 space_id : number | null
@@ -439,7 +432,6 @@ export type Database = {
439432 created : string
440433 id ?: number
441434 last_modified : string
442- last_synced : string
443435 metadata ?: Json
444436 source_local_id ?: string | null
445437 space_id ?: number | null
@@ -451,7 +443,6 @@ export type Database = {
451443 created ?: string
452444 id ?: number
453445 last_modified ?: string
454- last_synced ?: string
455446 metadata ?: Json
456447 source_local_id ?: string | null
457448 space_id ?: number | null
@@ -589,6 +580,29 @@ export type Database = {
589580 }
590581 Returns : undefined
591582 }
583+ match_content_embeddings : {
584+ Args : {
585+ query_embedding : string
586+ match_threshold : number
587+ match_count : number
588+ current_document_id ?: number
589+ }
590+ Returns : {
591+ content_id : number
592+ roam_uid : string
593+ text_content : string
594+ similarity : number
595+ } [ ]
596+ }
597+ match_embeddings_for_subset_nodes : {
598+ Args : { p_query_embedding : string ; p_subset_roam_uids : string [ ] }
599+ Returns : {
600+ content_id : number
601+ roam_uid : string
602+ text_content : string
603+ similarity : number
604+ } [ ]
605+ }
592606 propose_sync_task : {
593607 Args : {
594608 s_target : number
0 commit comments