graphlit-client 1.0.20250114001 → 1.0.20250127001
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
@@ -77,7 +77,7 @@ declare class Graphlit {
|
|
77
77
|
formatConversation(prompt: string, id?: string, specification?: Types.EntityReferenceInput, includeDetails?: boolean, correlationId?: string): Promise<Types.FormatConversationMutation>;
|
78
78
|
completeConversation(completion: string, id: string, correlationId?: string): Promise<Types.CompleteConversationMutation>;
|
79
79
|
askGraphlit(prompt: string, type?: Types.SdkTypes, id?: string, specification?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.AskGraphlitMutation>;
|
80
|
-
promptConversation(prompt: string, id?: string, specification?: Types.EntityReferenceInput, tools?: [Types.ToolDefinitionInput], requireTool?: boolean, includeDetails?: boolean, correlationId?: string): Promise<Types.PromptConversationMutation>;
|
80
|
+
promptConversation(prompt: string, id?: string, specification?: Types.EntityReferenceInput, mimeType?: string, data?: string, tools?: [Types.ToolDefinitionInput], requireTool?: boolean, includeDetails?: boolean, correlationId?: string): Promise<Types.PromptConversationMutation>;
|
81
81
|
continueConversation(id: string, responses: [Types.ConversationToolResponseInput], correlationId?: string): Promise<Types.ContinueConversationMutation>;
|
82
82
|
publishConversation(id: string, connector: Types.ContentPublishingConnectorInput, name?: string, workflow?: Types.EntityReferenceInput, isSynchronous?: boolean, correlationId?: string): Promise<Types.PublishConversationMutation>;
|
83
83
|
suggestConversation(id: string, count?: number, correlationId?: string): Promise<Types.SuggestConversationMutation>;
|
package/dist/client.js
CHANGED
@@ -443,9 +443,9 @@ class Graphlit {
|
|
443
443
|
return this.mutateAndCheckError(Documents.AskGraphlit, { prompt: prompt, type: type, id: id, specification: specification, correlationId: correlationId });
|
444
444
|
});
|
445
445
|
}
|
446
|
-
promptConversation(prompt, id, specification, tools, requireTool, includeDetails, correlationId) {
|
446
|
+
promptConversation(prompt, id, specification, mimeType, data, tools, requireTool, includeDetails, correlationId) {
|
447
447
|
return __awaiter(this, void 0, void 0, function* () {
|
448
|
-
return this.mutateAndCheckError(Documents.PromptConversation, { prompt: prompt, id: id, specification: specification, tools: tools, requireTool: requireTool, includeDetails: includeDetails, correlationId: correlationId });
|
448
|
+
return this.mutateAndCheckError(Documents.PromptConversation, { prompt: prompt, id: id, specification: specification, mimeType: mimeType, data: data, tools: tools, requireTool: requireTool, includeDetails: includeDetails, correlationId: correlationId });
|
449
449
|
});
|
450
450
|
}
|
451
451
|
continueConversation(id, responses, correlationId) {
|