Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@markprompt/core

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@markprompt/core - npm Package Compare versions

Comparing version 0.37.0 to 0.38.0

21

dist/chat/types.d.ts

@@ -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

2

dist/chat/utils.js
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc