@markprompt/core
Advanced tools
Comparing version 0.29.1 to 0.30.0
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 { Chat, ChatCompletion, ChatCompletionAssistantMessageParam, ChatCompletionChunk, ChatCompletionFunctionMessageParam, ChatCompletionMessage, ChatCompletionMessageParam, ChatCompletionMessageToolCall, ChatCompletionSystemMessageParam, ChatCompletionTool, ChatCompletionToolChoiceOption, ChatCompletionToolMessageParam, ChatCompletionUserMessageParam, } from 'openai/resources/chat/index.js'; | ||
export type RequiredKeys<T, K extends keyof T> = Required<Pick<T, K>> & Omit<T, K>; | ||
type ArrayToUnion<T> = T extends (infer U)[] ? U : T extends readonly (infer U)[] ? U : never; | ||
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-4o", "gpt-4-32k", "gpt-4-1106-preview", "gpt-4-turbo-preview"]; | ||
export type OpenAIChatCompletionsModelId = (typeof OPENAI_CHAT_COMPLETIONS_MODELS)[number]; | ||
export type OpenAIChatCompletionsModelId = ArrayToUnion<typeof OPENAI_CHAT_COMPLETIONS_MODELS>; | ||
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 type OpenAICompletionsModelId = (typeof OPENAI_COMPLETIONS_MODELS)[number]; | ||
export type OpenAICompletionsModelId = ArrayToUnion<typeof OPENAI_COMPLETIONS_MODELS>; | ||
export declare const OPENAI_EMBEDDINGS_MODEL: "text-embedding-ada-002"; | ||
@@ -9,0 +10,0 @@ export type OpenAIEmbeddingsModelId = typeof OPENAI_EMBEDDINGS_MODEL; |
{ | ||
"name": "@markprompt/core", | ||
"version": "0.29.1", | ||
"version": "0.30.0", | ||
"repository": { | ||
@@ -17,7 +17,2 @@ "type": "git", | ||
], | ||
"scripts": { | ||
"build": "tsc --build --clean && tsc --build", | ||
"dev": "tsc --build --clean && tsc --build --watch", | ||
"prepack": "tsc --build --clean && tsc --build" | ||
}, | ||
"dependencies": { | ||
@@ -35,3 +30,7 @@ "@algolia/client-search": "^4.23.3", | ||
"msw": "^2.2.13" | ||
}, | ||
"scripts": { | ||
"build": "tsc --build", | ||
"dev": "tsc --build --watch" | ||
} | ||
} | ||
} |
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
64482
925