@markprompt/core
Advanced tools
Comparing version 0.37.0 to 0.38.0
@@ -12,2 +12,10 @@ import type { ChatCompletionMessageToolCall, ChatCompletionTool, ChatCompletionToolChoiceOption } from 'openai/resources/chat/index.js'; | ||
export type Model = ChatCompletionsModel | CompletionsModel | EmbeddingsModel; | ||
export type SystemActionName = 'AskQuestionToUser' | 'RespondToUser' | 'RetrieveKnowledge' | 'LookupInfoInFiles' | 'ReportStatus' | 'ChooseCategory' | 'LookupCategories' | 'LookupExamples' | 'Think' | 'Observe'; | ||
export interface SystemAction { | ||
function: { | ||
name: SystemActionName; | ||
arguments: string; | ||
}; | ||
type: 'function'; | ||
} | ||
export interface ChatCompletionMetadata { | ||
@@ -17,3 +25,3 @@ threadId?: string; | ||
references?: FileSectionReference[]; | ||
steps?: ChatCompletionMessageToolCall[]; | ||
steps?: (SystemAction | ChatCompletionMessageToolCall)[]; | ||
/** | ||
@@ -148,6 +156,11 @@ * @deprecated Use `messageId` instead. | ||
/** | ||
* Whether or not to use the agentic architecture | ||
* @default false | ||
* Settings that determine the agent's capabilities. | ||
* @default undefined | ||
* */ | ||
agentic?: boolean; | ||
agentSettings?: { | ||
type: string; | ||
data: { | ||
[key: string]: unknown; | ||
}; | ||
}; | ||
/** | ||
@@ -154,0 +167,0 @@ * Whether or not to rerank retrieved context sections |
import { isFileSectionReferences } from '../utils.js'; | ||
const VALID_OPTIONS_KEYS = [ | ||
'additionalMetadata', | ||
'agentic', | ||
'agentSettings', | ||
'allowFollowUpQuestions', | ||
@@ -6,0 +6,0 @@ 'apiUrl', |
@@ -53,3 +53,2 @@ export type SourceType = 'github' | 'motif' | 'website' | 'file-upload' | 'api-upload' | 'nango' | 'salesforce'; | ||
} | ||
export type View = 'chat' | 'search' | 'ticket' | 'menu'; | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@markprompt/core", | ||
"version": "0.37.0", | ||
"version": "0.38.0", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69864
1037