Skip to content

Commit 840f3c9

Browse files
committed
sync: update from internal GitLab repository
Content updated: Directories: - objectscript/ Synced at: 2025-08-03 17:04:50
1 parent 04fd99e commit 840f3c9

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

objectscript/RAG/SourceDocumentsFixed.CLS

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ Property doc_id As %String(MAXLEN = 255) [ Required ];
1010
/// Document title
1111
Property title As %String(MAXLEN = 1000);
1212

13-
/// Full text content - Using %String instead of %Stream to enable iFind
14-
/// Limited to 8000 chars to avoid stream field issues while supporting most documents
15-
Property text_content As %String(MAXLEN = 8000);
13+
/// Full text content - Using %Stream for proper IRIS handling
14+
Property text_content As %Stream.GlobalCharacter;
1615

1716
/// Document abstract - Using %String instead of %Stream
1817
Property abstract As %String(MAXLEN = 4000);
@@ -26,8 +25,8 @@ Property keywords As %String(MAXLEN = 1000);
2625
/// Document metadata as JSON string
2726
Property metadata As %String(MAXLEN = 4000);
2827

29-
/// Vector embedding as string
30-
Property embedding As %String(MAXLEN = 60000);
28+
/// Vector embedding as stream for large embeddings
29+
Property embedding As %Stream.GlobalCharacter;
3130

3231
/// Creation timestamp
3332
Property created_at As %TimeStamp [ InitialExpression = {$ZDateTime($Horolog,3)} ];

0 commit comments

Comments
 (0)