@markprompt/core
Advanced tools
Comparing version 0.6.4 to 0.7.0
@@ -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
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
35900
438