Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@baseai/core

Package Overview
Dependencies
Maintainers
0
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@baseai/core - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

25

dist/index.d.ts
import { ChatCompletionStream } from 'openai/lib/ChatCompletionStream';
import React from 'react';
interface Memory {
name: string;
description?: string;
}
type OpenAIModels = 'openai:gpt-4o' | 'openai:gpt-4o-2024-08-06' | 'openai:gpt-4o-mini' | 'openai:gpt-4-turbo' | 'openai:gpt-4-turbo-preview' | 'openai:gpt-4-0125-preview' | 'openai:gpt-4-1106-preview' | 'openai:gpt-4' | 'openai:gpt-4-0613' | 'openai:gpt-4-32k' | 'openai:gpt-3.5-turbo' | 'openai:gpt-3.5-turbo-0125' | 'openai:gpt-3.5-turbo-1106' | 'openai:gpt-3.5-turbo-16k';

@@ -55,7 +61,2 @@ type TogetherModels = 'together:meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo' | 'together:meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo' | 'together:meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo' | 'together:meta-llama/Llama-3-70b-chat-hf' | 'together:meta-llama/Llama-3-8b-chat-hf' | 'together:togethercomputer/Llama-2-7B-32K-Instruct' | 'together:meta-llama/Llama-2-13b-chat-hf' | 'together:meta-llama/Llama-2-70b-chat-hf' | 'together:google/gemma-7b-it' | 'together:google/gemma-2b-it' | 'together:mistralai/Mistral-7B-Instruct-v0.1' | 'together:mistralai/Mistral-7B-Instruct-v0.2' | 'together:mistralai/Mixtral-8x7B-Instruct-v0.1' | 'together:mistralai/Mixtral-8x22B-Instruct-v0.1' | 'together:databricks/dbrx-instruct';

interface Memory {
name: string;
description?: string;
}
interface Tool {

@@ -71,14 +72,2 @@ run: (...args: any[]) => Promise<any> | any;

type LogCategories = 'pipe' | 'pipe.completion' | 'pipe.request' | 'pipe.response' | 'tool' | 'tool.calls' | 'memory' | 'memory.similarChunks' | 'memory.augmentedContext';
type NestedCategories = {
[key in LogCategories]?: boolean | NestedCategories;
};
type LoggerConfig = {
isEnabled: boolean;
logSensitiveData: boolean;
} & NestedCategories;
interface BaseAIConfig {
log: LoggerConfig;
}
type Role = 'user' | 'assistant' | 'system' | 'tool';

@@ -319,2 +308,2 @@ interface Function {

export { type BaseAIConfig, type Chunk, type ChunkStream, type Function, type LogCategories, type LoggerConfig, type Memory as MemoryI, type Message, Pipe, type Pipe$1 as PipeI, type PipeOptions, type Role, type RunOptions, type RunOptionsStream, type RunResponse, type RunResponseStream, type ToolCall, type Tool as ToolI, type Usage, type Variable, fromReadableStream, generateText, getTextContent, getTextDelta, isContent, isToolCall, isUnknown, printStreamToStdout, processChunk, streamText, usePipe };
export { type Chunk, type ChunkStream, type Function, type Memory as MemoryI, type Message, Pipe, type Pipe$1 as PipeI, type PipeOptions, type Role, type RunOptions, type RunOptionsStream, type RunResponse, type RunResponseStream, type ToolCall, type Tool as ToolI, type Usage, type Variable, fromReadableStream, generateText, getTextContent, getTextDelta, isContent, isToolCall, isUnknown, printStreamToStdout, processChunk, streamText, usePipe };
{
"name": "@baseai/core",
"description": "The Web AI Framework's core - BaseAI.dev",
"version": "0.0.5",
"version": "0.0.6",
"license": "Apache-2.0",

@@ -50,2 +50,14 @@ "sideEffects": false,

},
"peerDependencies": {
"react": "^18 || ^19",
"zod": "^3.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"zod": {
"optional": true
}
},
"homepage": "https://langbase.com/docs",

@@ -52,0 +64,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

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