graphlit-client 1.0.20250410001 → 1.0.20250414001
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/dist/client.d.ts
CHANGED
@@ -44,7 +44,8 @@ declare class Graphlit {
|
|
44
44
|
ingestTextBatch(batch: [Types.TextContentInput], textType: Types.TextTypes, collections?: [Types.EntityReferenceInput], observations?: [Types.ObservationReferenceInput], correlationId?: string): Promise<Types.IngestTextBatchMutation>;
|
45
45
|
ingestBatch(uris: [string], workflow?: Types.EntityReferenceInput, collections?: [Types.EntityReferenceInput], observations?: [Types.ObservationReferenceInput], correlationId?: string): Promise<Types.IngestBatchMutation>;
|
46
46
|
ingestUri(uri: string, name?: string, id?: string, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: [Types.EntityReferenceInput], observations?: [Types.ObservationReferenceInput], correlationId?: string): Promise<Types.IngestUriMutation>;
|
47
|
-
ingestText(
|
47
|
+
ingestText(text: string, name?: string, textType?: Types.TextTypes, uri?: string, id?: string, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: [Types.EntityReferenceInput], observations?: [Types.ObservationReferenceInput], correlationId?: string): Promise<Types.IngestTextMutation>;
|
48
|
+
ingestMemory(text: string, name?: string, textType?: Types.TextTypes, collections?: [Types.EntityReferenceInput], correlationId?: string): Promise<Types.IngestMemoryMutation>;
|
48
49
|
ingestEncodedFile(name: string, data: string, mimeType: string, id?: string, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: [Types.EntityReferenceInput], observations?: [Types.ObservationReferenceInput], correlationId?: string): Promise<Types.IngestEncodedFileMutation>;
|
49
50
|
updateContent(content: Types.ContentUpdateInput): Promise<Types.UpdateContentMutation>;
|
50
51
|
deleteContent(id: string): Promise<Types.DeleteContentMutation>;
|
package/dist/client.js
CHANGED
@@ -288,11 +288,16 @@ class Graphlit {
|
|
288
288
|
return this.mutateAndCheckError(Documents.IngestUri, { uri: uri, name: name, id: id, isSynchronous: isSynchronous, workflow: workflow, collections: collections, observations: observations, correlationId: correlationId });
|
289
289
|
});
|
290
290
|
}
|
291
|
-
ingestText(
|
291
|
+
ingestText(text, name, textType, uri, id, isSynchronous, workflow, collections, observations, correlationId) {
|
292
292
|
return __awaiter(this, void 0, void 0, function* () {
|
293
293
|
return this.mutateAndCheckError(Documents.IngestText, { name: name, text: text, textType: textType, uri: uri, id: id, isSynchronous: isSynchronous, workflow: workflow, collections: collections, observations: observations, correlationId: correlationId });
|
294
294
|
});
|
295
295
|
}
|
296
|
+
ingestMemory(text, name, textType, collections, correlationId) {
|
297
|
+
return __awaiter(this, void 0, void 0, function* () {
|
298
|
+
return this.mutateAndCheckError(Documents.IngestMemory, { name: name, text: text, textType: textType, collections: collections, correlationId: correlationId });
|
299
|
+
});
|
300
|
+
}
|
296
301
|
ingestEncodedFile(name, data, mimeType, id, isSynchronous, workflow, collections, observations, correlationId) {
|
297
302
|
return __awaiter(this, void 0, void 0, function* () {
|
298
303
|
return this.mutateAndCheckError(Documents.IngestEncodedFile, { name: name, data: data, mimeType: mimeType, id: id, isSynchronous: isSynchronous, workflow: workflow, collections: collections, observations: observations, correlationId: correlationId });
|
@@ -38,6 +38,7 @@ export declare const ExtractText: import("graphql").DocumentNode;
|
|
38
38
|
export declare const GetContent: import("graphql").DocumentNode;
|
39
39
|
export declare const IngestBatch: import("graphql").DocumentNode;
|
40
40
|
export declare const IngestEncodedFile: import("graphql").DocumentNode;
|
41
|
+
export declare const IngestMemory: import("graphql").DocumentNode;
|
41
42
|
export declare const IngestText: import("graphql").DocumentNode;
|
42
43
|
export declare const IngestTextBatch: import("graphql").DocumentNode;
|
43
44
|
export declare const IngestUri: import("graphql").DocumentNode;
|
@@ -3,12 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.
|
7
|
-
exports.
|
8
|
-
exports.
|
9
|
-
exports.
|
10
|
-
exports.
|
11
|
-
exports.WorkflowExists = exports.UpsertWorkflow = exports.UpdateWorkflow = exports.QueryWorkflows = exports.GetWorkflow = exports.DeleteWorkflows = exports.DeleteWorkflow = exports.DeleteAllWorkflows = exports.CreateWorkflow = exports.CountWorkflows = exports.UpdateUser = exports.QueryUsers = exports.GetUser = exports.EnableUser = exports.DisableUser = exports.DeleteUser = exports.CreateUser = exports.CountUsers = exports.UpsertSpecification = exports.UpdateSpecification = exports.SpecificationExists = exports.QuerySpecifications = exports.QueryModels = exports.PromptSpecifications = exports.GetSpecification = exports.DeleteSpecifications = exports.DeleteSpecification = exports.DeleteAllSpecifications = exports.CreateSpecification = exports.CountSpecifications = exports.UpdateSoftware = exports.QuerySoftwares = exports.GetSoftware = exports.DeleteSoftwares = exports.DeleteSoftware = exports.DeleteAllSoftwares = exports.CreateSoftware = exports.CountSoftwares = exports.SearchWeb = exports.MapWeb = exports.UpdateRepo = exports.QueryRepos = exports.GetRepo = void 0;
|
6
|
+
exports.QueryContentsGraph = exports.QueryContentsFacets = exports.QueryContents = exports.PublishText = exports.PublishContents = exports.IsContentDone = exports.IngestUri = exports.IngestTextBatch = exports.IngestText = exports.IngestMemory = exports.IngestEncodedFile = exports.IngestBatch = exports.GetContent = exports.ExtractText = exports.ExtractContents = exports.DescribeImage = exports.DescribeEncodedImage = exports.DeleteContents = exports.DeleteContent = exports.DeleteAllContents = exports.CountContents = exports.UpdateCollection = exports.RemoveContentsFromCollection = exports.QueryCollections = exports.GetCollection = exports.DeleteCollections = exports.DeleteCollection = exports.DeleteAllCollections = exports.CreateCollection = exports.CountCollections = exports.AddContentsToCollections = exports.UpsertCategory = exports.UpdateCategory = exports.QueryCategories = exports.GetCategory = exports.DeleteCategory = exports.DeleteCategories = exports.DeleteAllCategories = exports.CreateCategory = exports.CountCategories = exports.UpdateAlert = exports.QueryAlerts = exports.GetAlert = exports.EnableAlert = exports.DisableAlert = exports.DeleteAllAlerts = exports.DeleteAlerts = exports.DeleteAlert = exports.CreateAlert = exports.CountAlerts = void 0;
|
7
|
+
exports.QueryMicrosoftTeamsTeams = exports.QueryMicrosoftTeamsChannels = exports.QueryLinearProjects = exports.QueryFeeds = exports.IsFeedDone = exports.GetSharePointConsentUri = exports.GetFeed = exports.FeedExists = exports.EnableFeed = exports.DisableFeed = exports.DeleteFeeds = exports.DeleteFeed = exports.DeleteAllFeeds = exports.CreateFeed = exports.CountFeeds = exports.UpdateEvent = exports.QueryEvents = exports.GetEvent = exports.DeleteEvents = exports.DeleteEvent = exports.DeleteAllEvents = exports.CreateEvent = exports.CountEvents = exports.UpdateConversation = exports.SuggestConversation = exports.ReviseText = exports.ReviseImage = exports.ReviseEncodedImage = exports.ReviseContent = exports.RetrieveSources = exports.QueryConversations = exports.PublishConversation = exports.PromptConversation = exports.Prompt = exports.GetConversation = exports.FormatConversation = exports.DeleteConversations = exports.DeleteConversation = exports.DeleteAllConversations = exports.CreateConversation = exports.CountConversations = exports.ContinueConversation = exports.CompleteConversation = exports.CloseConversation = exports.ClearConversation = exports.AskGraphlit = exports.UpdateContent = exports.SummarizeText = exports.SummarizeContents = exports.ScreenshotPage = void 0;
|
8
|
+
exports.CreateMedicalDrugClass = exports.CountMedicalDrugClasses = exports.UpdateMedicalDrug = exports.QueryMedicalDrugs = exports.GetMedicalDrug = exports.DeleteMedicalDrugs = exports.DeleteMedicalDrug = exports.DeleteAllMedicalDrugs = exports.CreateMedicalDrug = exports.CountMedicalDrugs = exports.UpdateMedicalDevice = exports.QueryMedicalDevices = exports.GetMedicalDevice = exports.DeleteMedicalDevices = exports.DeleteMedicalDevice = exports.DeleteAllMedicalDevices = exports.CreateMedicalDevice = exports.CountMedicalDevices = exports.UpdateMedicalContraindication = exports.QueryMedicalContraindications = exports.GetMedicalContraindication = exports.DeleteMedicalContraindications = exports.DeleteMedicalContraindication = exports.DeleteAllMedicalContraindications = exports.CreateMedicalContraindication = exports.CountMedicalContraindications = exports.UpdateMedicalCondition = exports.QueryMedicalConditions = exports.GetMedicalCondition = exports.DeleteMedicalConditions = exports.DeleteMedicalCondition = exports.DeleteAllMedicalConditions = exports.CreateMedicalCondition = exports.CountMedicalConditions = exports.UpsertLabel = exports.UpdateLabel = exports.QueryLabels = exports.GetLabel = exports.DeleteLabels = exports.DeleteLabel = exports.DeleteAllLabels = exports.CreateLabel = exports.CountLabels = exports.UpdateFeed = exports.QuerySlackChannels = exports.QuerySharePointLibraries = exports.QuerySharePointFolders = exports.QueryOneDriveFolders = exports.QueryNotionPages = exports.QueryNotionDatabases = void 0;
|
9
|
+
exports.DeleteMedicalTherapies = exports.DeleteAllMedicalTherapies = exports.CreateMedicalTherapy = exports.CountMedicalTherapies = exports.UpdateMedicalTest = exports.QueryMedicalTests = exports.GetMedicalTest = exports.DeleteMedicalTests = exports.DeleteMedicalTest = exports.DeleteAllMedicalTests = exports.CreateMedicalTest = exports.CountMedicalTests = exports.UpdateMedicalStudy = exports.QueryMedicalStudies = exports.GetMedicalStudy = exports.DeleteMedicalStudy = exports.DeleteMedicalStudies = exports.DeleteAllMedicalStudies = exports.CreateMedicalStudy = exports.CountMedicalStudies = exports.UpdateMedicalProcedure = exports.QueryMedicalProcedures = exports.GetMedicalProcedure = exports.DeleteMedicalProcedures = exports.DeleteMedicalProcedure = exports.DeleteAllMedicalProcedures = exports.CreateMedicalProcedure = exports.CountMedicalProcedures = exports.UpdateMedicalIndication = exports.QueryMedicalIndications = exports.GetMedicalIndication = exports.DeleteMedicalIndications = exports.DeleteMedicalIndication = exports.DeleteAllMedicalIndications = exports.CreateMedicalIndication = exports.CountMedicalIndications = exports.UpdateMedicalGuideline = exports.QueryMedicalGuidelines = exports.GetMedicalGuideline = exports.DeleteMedicalGuidelines = exports.DeleteMedicalGuideline = exports.DeleteAllMedicalGuidelines = exports.CreateMedicalGuideline = exports.CountMedicalGuidelines = exports.UpdateMedicalDrugClass = exports.QueryMedicalDrugClasses = exports.GetMedicalDrugClass = exports.DeleteMedicalDrugClasses = exports.DeleteMedicalDrugClass = exports.DeleteAllMedicalDrugClasses = void 0;
|
10
|
+
exports.DeleteRepo = exports.DeleteAllRepos = exports.CreateRepo = exports.CountRepos = exports.UpdateProject = exports.QueryUsage = exports.QueryCredits = exports.LookupUsage = exports.LookupCredits = exports.GetProject = exports.UpdateProduct = exports.QueryProducts = exports.GetProduct = exports.DeleteProducts = exports.DeleteProduct = exports.DeleteAllProducts = exports.CreateProduct = exports.CountProducts = exports.UpdatePlace = exports.QueryPlaces = exports.GetPlace = exports.DeletePlaces = exports.DeletePlace = exports.DeleteAllPlaces = exports.CreatePlace = exports.CountPlaces = exports.UpdatePerson = exports.QueryPersons = exports.GetPerson = exports.DeletePersons = exports.DeletePerson = exports.DeleteAllPersons = exports.CreatePerson = exports.CountPersons = exports.UpdateOrganization = exports.QueryOrganizations = exports.GetOrganization = exports.DeleteOrganizations = exports.DeleteOrganization = exports.DeleteAllOrganizations = exports.CreateOrganization = exports.CountOrganizations = exports.UpdateObservation = exports.DeleteObservation = exports.CreateObservation = exports.SendNotification = exports.UpdateMedicalTherapy = exports.QueryMedicalTherapies = exports.GetMedicalTherapy = exports.DeleteMedicalTherapy = void 0;
|
11
|
+
exports.WorkflowExists = exports.UpsertWorkflow = exports.UpdateWorkflow = exports.QueryWorkflows = exports.GetWorkflow = exports.DeleteWorkflows = exports.DeleteWorkflow = exports.DeleteAllWorkflows = exports.CreateWorkflow = exports.CountWorkflows = exports.UpdateUser = exports.QueryUsers = exports.GetUser = exports.EnableUser = exports.DisableUser = exports.DeleteUser = exports.CreateUser = exports.CountUsers = exports.UpsertSpecification = exports.UpdateSpecification = exports.SpecificationExists = exports.QuerySpecifications = exports.QueryModels = exports.PromptSpecifications = exports.GetSpecification = exports.DeleteSpecifications = exports.DeleteSpecification = exports.DeleteAllSpecifications = exports.CreateSpecification = exports.CountSpecifications = exports.UpdateSoftware = exports.QuerySoftwares = exports.GetSoftware = exports.DeleteSoftwares = exports.DeleteSoftware = exports.DeleteAllSoftwares = exports.CreateSoftware = exports.CountSoftwares = exports.SearchWeb = exports.MapWeb = exports.UpdateRepo = exports.QueryRepos = exports.GetRepo = exports.DeleteRepos = void 0;
|
12
12
|
const graphql_tag_1 = __importDefault(require("graphql-tag"));
|
13
13
|
exports.CountAlerts = (0, graphql_tag_1.default) `
|
14
14
|
query CountAlerts($filter: AlertFilter, $correlationId: String) {
|
@@ -1264,8 +1264,59 @@ exports.IngestEncodedFile = (0, graphql_tag_1.default) `
|
|
1264
1264
|
}
|
1265
1265
|
}
|
1266
1266
|
`;
|
1267
|
+
exports.IngestMemory = (0, graphql_tag_1.default) `
|
1268
|
+
mutation IngestMemory($text: String!, $name: String, $textType: TextTypes, $collections: [EntityReferenceInput!], $correlationId: String) {
|
1269
|
+
ingestMemory(
|
1270
|
+
name: $name
|
1271
|
+
text: $text
|
1272
|
+
textType: $textType
|
1273
|
+
collections: $collections
|
1274
|
+
correlationId: $correlationId
|
1275
|
+
) {
|
1276
|
+
id
|
1277
|
+
name
|
1278
|
+
state
|
1279
|
+
type
|
1280
|
+
fileType
|
1281
|
+
mimeType
|
1282
|
+
uri
|
1283
|
+
collections {
|
1284
|
+
id
|
1285
|
+
name
|
1286
|
+
}
|
1287
|
+
observations {
|
1288
|
+
id
|
1289
|
+
type
|
1290
|
+
observable {
|
1291
|
+
id
|
1292
|
+
name
|
1293
|
+
}
|
1294
|
+
related {
|
1295
|
+
id
|
1296
|
+
name
|
1297
|
+
}
|
1298
|
+
relatedType
|
1299
|
+
relation
|
1300
|
+
occurrences {
|
1301
|
+
type
|
1302
|
+
confidence
|
1303
|
+
startTime
|
1304
|
+
endTime
|
1305
|
+
pageIndex
|
1306
|
+
boundingBox {
|
1307
|
+
left
|
1308
|
+
top
|
1309
|
+
width
|
1310
|
+
height
|
1311
|
+
}
|
1312
|
+
}
|
1313
|
+
state
|
1314
|
+
}
|
1315
|
+
}
|
1316
|
+
}
|
1317
|
+
`;
|
1267
1318
|
exports.IngestText = (0, graphql_tag_1.default) `
|
1268
|
-
mutation IngestText($
|
1319
|
+
mutation IngestText($text: String!, $name: String, $textType: TextTypes, $uri: URL, $id: ID, $isSynchronous: Boolean, $workflow: EntityReferenceInput, $collections: [EntityReferenceInput!], $observations: [ObservationReferenceInput!], $correlationId: String) {
|
1269
1320
|
ingestText(
|
1270
1321
|
name: $name
|
1271
1322
|
text: $text
|
@@ -2025,6 +2025,8 @@ export declare enum ContentTypes {
|
|
2025
2025
|
File = "FILE",
|
2026
2026
|
/** Issue (i.e. JIRA, Linear, GitHub) */
|
2027
2027
|
Issue = "ISSUE",
|
2028
|
+
/** Memory (i.e. Agent or User memory) */
|
2029
|
+
Memory = "MEMORY",
|
2028
2030
|
/** Message (i.e. Slack, Microsoft Teams) */
|
2029
2031
|
Message = "MESSAGE",
|
2030
2032
|
/** Web page */
|
@@ -7771,6 +7773,8 @@ export type Mutation = {
|
|
7771
7773
|
* @deprecated Use ingestUri instead.
|
7772
7774
|
*/
|
7773
7775
|
ingestFile?: Maybe<Content>;
|
7776
|
+
/** Ingests user or agent memory. */
|
7777
|
+
ingestMemory?: Maybe<Content>;
|
7774
7778
|
/**
|
7775
7779
|
* Ingests a webpage by URI.
|
7776
7780
|
* @deprecated Use ingestUri instead.
|
@@ -8439,6 +8443,13 @@ export type MutationIngestFileArgs = {
|
|
8439
8443
|
uri: Scalars['URL']['input'];
|
8440
8444
|
workflow?: InputMaybe<EntityReferenceInput>;
|
8441
8445
|
};
|
8446
|
+
export type MutationIngestMemoryArgs = {
|
8447
|
+
collections?: InputMaybe<Array<EntityReferenceInput>>;
|
8448
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
8449
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
8450
|
+
text: Scalars['String']['input'];
|
8451
|
+
textType?: InputMaybe<TextTypes>;
|
8452
|
+
};
|
8442
8453
|
export type MutationIngestPageArgs = {
|
8443
8454
|
collections?: InputMaybe<Array<EntityReferenceInput>>;
|
8444
8455
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
@@ -8453,7 +8464,7 @@ export type MutationIngestTextArgs = {
|
|
8453
8464
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
8454
8465
|
id?: InputMaybe<Scalars['ID']['input']>;
|
8455
8466
|
isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
8456
|
-
name
|
8467
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
8457
8468
|
observations?: InputMaybe<Array<ObservationReferenceInput>>;
|
8458
8469
|
text: Scalars['String']['input'];
|
8459
8470
|
textType?: InputMaybe<TextTypes>;
|
@@ -9230,9 +9241,27 @@ export declare enum OpenAiModels {
|
|
9230
9241
|
* @deprecated OpenAI has deprecated this model. Use the GPT-4o Mini model instead.
|
9231
9242
|
*/
|
9232
9243
|
Gpt35Turbo_16K_1106 = "GPT35_TURBO_16K_1106",
|
9233
|
-
/** GPT 4.
|
9244
|
+
/** GPT 4.1 1024k (Latest) */
|
9245
|
+
Gpt41_1024K = "GPT41_1024K",
|
9246
|
+
/** GPT 4.1 1024k (2025-04-14 version) */
|
9247
|
+
Gpt41_1024K_20250414 = "GPT41_1024K_20250414",
|
9248
|
+
/** GPT Mini 4.1 1024k (Latest) */
|
9249
|
+
Gpt41Mini_1024K = "GPT41_MINI_1024K",
|
9250
|
+
/** GPT 4.1 Mini 1024k (2025-04-14 version) */
|
9251
|
+
Gpt41Mini_1024K_20250414 = "GPT41_MINI_1024K_20250414",
|
9252
|
+
/** GPT Nano 4.1 1024k (Latest) */
|
9253
|
+
Gpt41Nano_1024K = "GPT41_NANO_1024K",
|
9254
|
+
/** GPT 4.1 Nano 1024k (2025-04-14 version) */
|
9255
|
+
Gpt41Nano_1024K_20250414 = "GPT41_NANO_1024K_20250414",
|
9256
|
+
/**
|
9257
|
+
* GPT 4.5 Preview 128k (Latest)
|
9258
|
+
* @deprecated OpenAI has deprecated this model. Use the GPT 4.1 model instead.
|
9259
|
+
*/
|
9234
9260
|
Gpt45Preview_128K = "GPT45_PREVIEW_128K",
|
9235
|
-
/**
|
9261
|
+
/**
|
9262
|
+
* GPT 4.5 Preview 128k (2025-02-27 version)
|
9263
|
+
* @deprecated OpenAI has deprecated this model. Use the GPT 4.1 model instead.
|
9264
|
+
*/
|
9236
9265
|
Gpt45Preview_128K_20250227 = "GPT45_PREVIEW_128K_20250227",
|
9237
9266
|
/** o1 200k (Latest) */
|
9238
9267
|
O1_200K = "O1_200K",
|
@@ -10367,6 +10396,8 @@ export type ProjectStorage = {
|
|
10367
10396
|
file?: Maybe<ProjectStorageFileContentFacet>;
|
10368
10397
|
/** The issue content type storage facet. */
|
10369
10398
|
issue?: Maybe<ProjectStorageContentFacet>;
|
10399
|
+
/** The memory content type storage facet. */
|
10400
|
+
memory?: Maybe<ProjectStorageContentFacet>;
|
10370
10401
|
/** The message content type storage facet. */
|
10371
10402
|
message?: Maybe<ProjectStorageContentFacet>;
|
10372
10403
|
/** The page content type storage facet. */
|
@@ -14994,9 +15025,67 @@ export type IngestEncodedFileMutation = {
|
|
14994
15025
|
} | null> | null;
|
14995
15026
|
} | null;
|
14996
15027
|
};
|
15028
|
+
export type IngestMemoryMutationVariables = Exact<{
|
15029
|
+
text: Scalars['String']['input'];
|
15030
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
15031
|
+
textType?: InputMaybe<TextTypes>;
|
15032
|
+
collections?: InputMaybe<Array<EntityReferenceInput> | EntityReferenceInput>;
|
15033
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
15034
|
+
}>;
|
15035
|
+
export type IngestMemoryMutation = {
|
15036
|
+
__typename?: 'Mutation';
|
15037
|
+
ingestMemory?: {
|
15038
|
+
__typename?: 'Content';
|
15039
|
+
id: string;
|
15040
|
+
name: string;
|
15041
|
+
state: EntityState;
|
15042
|
+
type?: ContentTypes | null;
|
15043
|
+
fileType?: FileTypes | null;
|
15044
|
+
mimeType?: string | null;
|
15045
|
+
uri?: any | null;
|
15046
|
+
collections?: Array<{
|
15047
|
+
__typename?: 'Collection';
|
15048
|
+
id: string;
|
15049
|
+
name: string;
|
15050
|
+
} | null> | null;
|
15051
|
+
observations?: Array<{
|
15052
|
+
__typename?: 'Observation';
|
15053
|
+
id: string;
|
15054
|
+
type: ObservableTypes;
|
15055
|
+
relatedType?: ObservableTypes | null;
|
15056
|
+
relation?: string | null;
|
15057
|
+
state: EntityState;
|
15058
|
+
observable: {
|
15059
|
+
__typename?: 'NamedEntityReference';
|
15060
|
+
id: string;
|
15061
|
+
name?: string | null;
|
15062
|
+
};
|
15063
|
+
related?: {
|
15064
|
+
__typename?: 'NamedEntityReference';
|
15065
|
+
id: string;
|
15066
|
+
name?: string | null;
|
15067
|
+
} | null;
|
15068
|
+
occurrences?: Array<{
|
15069
|
+
__typename?: 'ObservationOccurrence';
|
15070
|
+
type?: OccurrenceTypes | null;
|
15071
|
+
confidence?: number | null;
|
15072
|
+
startTime?: any | null;
|
15073
|
+
endTime?: any | null;
|
15074
|
+
pageIndex?: number | null;
|
15075
|
+
boundingBox?: {
|
15076
|
+
__typename?: 'BoundingBox';
|
15077
|
+
left?: number | null;
|
15078
|
+
top?: number | null;
|
15079
|
+
width?: number | null;
|
15080
|
+
height?: number | null;
|
15081
|
+
} | null;
|
15082
|
+
} | null> | null;
|
15083
|
+
} | null> | null;
|
15084
|
+
} | null;
|
15085
|
+
};
|
14997
15086
|
export type IngestTextMutationVariables = Exact<{
|
14998
|
-
name: Scalars['String']['input'];
|
14999
15087
|
text: Scalars['String']['input'];
|
15088
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
15000
15089
|
textType?: InputMaybe<TextTypes>;
|
15001
15090
|
uri?: InputMaybe<Scalars['URL']['input']>;
|
15002
15091
|
id?: InputMaybe<Scalars['ID']['input']>;
|
@@ -335,6 +335,8 @@ var ContentTypes;
|
|
335
335
|
ContentTypes["File"] = "FILE";
|
336
336
|
/** Issue (i.e. JIRA, Linear, GitHub) */
|
337
337
|
ContentTypes["Issue"] = "ISSUE";
|
338
|
+
/** Memory (i.e. Agent or User memory) */
|
339
|
+
ContentTypes["Memory"] = "MEMORY";
|
338
340
|
/** Message (i.e. Slack, Microsoft Teams) */
|
339
341
|
ContentTypes["Message"] = "MESSAGE";
|
340
342
|
/** Web page */
|
@@ -1424,9 +1426,27 @@ var OpenAiModels;
|
|
1424
1426
|
* @deprecated OpenAI has deprecated this model. Use the GPT-4o Mini model instead.
|
1425
1427
|
*/
|
1426
1428
|
OpenAiModels["Gpt35Turbo_16K_1106"] = "GPT35_TURBO_16K_1106";
|
1427
|
-
/** GPT 4.
|
1429
|
+
/** GPT 4.1 1024k (Latest) */
|
1430
|
+
OpenAiModels["Gpt41_1024K"] = "GPT41_1024K";
|
1431
|
+
/** GPT 4.1 1024k (2025-04-14 version) */
|
1432
|
+
OpenAiModels["Gpt41_1024K_20250414"] = "GPT41_1024K_20250414";
|
1433
|
+
/** GPT Mini 4.1 1024k (Latest) */
|
1434
|
+
OpenAiModels["Gpt41Mini_1024K"] = "GPT41_MINI_1024K";
|
1435
|
+
/** GPT 4.1 Mini 1024k (2025-04-14 version) */
|
1436
|
+
OpenAiModels["Gpt41Mini_1024K_20250414"] = "GPT41_MINI_1024K_20250414";
|
1437
|
+
/** GPT Nano 4.1 1024k (Latest) */
|
1438
|
+
OpenAiModels["Gpt41Nano_1024K"] = "GPT41_NANO_1024K";
|
1439
|
+
/** GPT 4.1 Nano 1024k (2025-04-14 version) */
|
1440
|
+
OpenAiModels["Gpt41Nano_1024K_20250414"] = "GPT41_NANO_1024K_20250414";
|
1441
|
+
/**
|
1442
|
+
* GPT 4.5 Preview 128k (Latest)
|
1443
|
+
* @deprecated OpenAI has deprecated this model. Use the GPT 4.1 model instead.
|
1444
|
+
*/
|
1428
1445
|
OpenAiModels["Gpt45Preview_128K"] = "GPT45_PREVIEW_128K";
|
1429
|
-
/**
|
1446
|
+
/**
|
1447
|
+
* GPT 4.5 Preview 128k (2025-02-27 version)
|
1448
|
+
* @deprecated OpenAI has deprecated this model. Use the GPT 4.1 model instead.
|
1449
|
+
*/
|
1430
1450
|
OpenAiModels["Gpt45Preview_128K_20250227"] = "GPT45_PREVIEW_128K_20250227";
|
1431
1451
|
/** o1 200k (Latest) */
|
1432
1452
|
OpenAiModels["O1_200K"] = "O1_200K";
|
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "graphlit-client",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.20250414001",
|
4
4
|
"description": "Graphlit API TypeScript Client",
|
5
5
|
"main": "dist/client.js",
|
6
6
|
"types": "dist/client.d.ts",
|
7
7
|
"repository": {
|
8
8
|
"type": "git",
|
9
|
-
"url": "https://github.com/graphlit/graphlit-client-typescript"
|
9
|
+
"url": "git+https://github.com/graphlit/graphlit-client-typescript.git"
|
10
10
|
},
|
11
11
|
"contributors": [
|
12
12
|
"Kirk Marple (https://github.com/kirk-marple)"
|