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
106
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.6.4 to 0.7.0

17

dist/types.d.ts

@@ -1,2 +0,2 @@

export type OpenAIChatCompletionsModelId = 'gpt-4' | 'gpt-4-0314' | 'gpt-4-32k' | 'gpt-4-32k-0314' | 'gpt-3.5-turbo' | 'gpt-3.5-turbo-0301';
export type OpenAIChatCompletionsModelId = 'gpt-4' | 'gpt-3.5-turbo';
export type OpenAICompletionsModelId = 'text-davinci-003' | 'text-davinci-002' | 'text-curie-001' | 'text-babbage-001' | 'text-ada-001' | 'davinci' | 'curie' | 'babbage' | 'ada';

@@ -7,3 +7,4 @@ export type OpenAIEmbeddingsModelId = 'text-embedding-ada-002';

export type SearchResultSection = {
content: string;
content?: string;
snippet: string;
meta?: {

@@ -16,3 +17,2 @@ leadHeading?: {

};
score: number;
};

@@ -28,10 +28,13 @@ export type SourceType = 'github' | 'motif' | 'website' | 'file-upload' | 'api-upload';

export type SearchResult = {
file: SearchResultFileData;
matchType: 'title' | 'leadHeading' | 'content';
} & SearchResultSection;
export type SearchResultFileData = {
title?: string;
path: string;
meta: {
title: string;
};
meta: any;
source: Source;
sections: SearchResultSection[];
};
export type SearchResultsResponse = {
debug?: any;
project_id: string;

@@ -38,0 +41,0 @@ data: SearchResult[];

{
"name": "@markprompt/core",
"version": "0.6.4",
"version": "0.7.0",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

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