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.29.1 to 0.30.0

7

dist/types.d.ts
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

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