@markprompt/core
Advanced tools
Comparing version 0.21.1 to 0.21.2
import type { DocSearchHit } from './docsearch.js'; | ||
export type { Chat, ChatCompletion, ChatCompletionAssistantMessageParam, ChatCompletionChunk, ChatCompletionFunctionMessageParam, ChatCompletionMessage, ChatCompletionMessageParam, ChatCompletionMessageToolCall, ChatCompletionSystemMessageParam, ChatCompletionTool, ChatCompletionToolChoiceOption, ChatCompletionToolMessageParam, ChatCompletionUserMessageParam, } from 'openai/resources/index.mjs'; | ||
export type RequiredKeys<T, K extends keyof T> = Required<Pick<T, K>> & Omit<T, K>; | ||
export declare const OPENAI_CHAT_COMPLETIONS_MODELS: readonly ["gpt-3.5-turbo", "gpt-4-1106-preview", "gpt-4-32k", "gpt-4"]; | ||
export declare const OPENAI_CHAT_COMPLETIONS_MODELS: readonly ["gpt-3.5-turbo", "gpt-3.5-turbo-16k", "gpt-3.5-turbo-1106", "gpt-3.5-turbo-16k-0613", "gpt-4", "gpt-4-32k", "gpt-4-1106-preview"]; | ||
export type OpenAIChatCompletionsModelId = (typeof OPENAI_CHAT_COMPLETIONS_MODELS)[number]; | ||
@@ -6,0 +6,0 @@ export declare const OPENAI_COMPLETIONS_MODELS: readonly ["ada", "babbage", "curie", "davinci", "text-ada-001", "text-babbage-001", "text-curie-001", "text-davinci-002", "text-davinci-003"]; |
export const OPENAI_CHAT_COMPLETIONS_MODELS = [ | ||
'gpt-3.5-turbo', | ||
'gpt-3.5-turbo-16k', | ||
'gpt-3.5-turbo-1106', | ||
'gpt-3.5-turbo-16k-0613', | ||
'gpt-4', | ||
'gpt-4-32k', | ||
'gpt-4-1106-preview', | ||
'gpt-4-32k', | ||
'gpt-4', | ||
]; | ||
@@ -7,0 +10,0 @@ export const OPENAI_COMPLETIONS_MODELS = [ |
{ | ||
"name": "@markprompt/core", | ||
"version": "0.21.1", | ||
"version": "0.21.2", | ||
"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
72236
1006