New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sap-ai-sdk/core

Package Overview
Dependencies
Maintainers
0
Versions
189
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap-ai-sdk/core - npm Package Compare versions

Comparing version 0.1.1-20240917012643.0 to 0.1.1-20240918013048.0

18

dist/http-client.d.ts
import { HttpRequestConfig, HttpResponse } from '@sap-cloud-sdk/http-client';
/**
* Input parameters with Deployment ID.
*/
export interface BaseLlmParametersWithDeploymentId {
/**
* Deployment ID of the model to use.
*/
deploymentId: string;
}
/**
* Base LLM Input Parameters.
*/
export interface BaseLlmParameters {
/**
* Deployment configuration.
*/
deploymentConfiguration: BaseLlmParametersWithDeploymentId;
}
/**
* The type for parameters in custom request configuration.

@@ -22,0 +4,0 @@ */

4

dist/index.d.ts

@@ -1,6 +0,6 @@

export type { BaseLlmParametersWithDeploymentId, BaseLlmParameters, CustomRequestConfig, EndpointOptions } from './http-client.js';
export type { CustomRequestConfig, EndpointOptions } from './http-client.js';
export { executeRequest } from './http-client.js';
export { getAiCoreDestination } from './context.js';
export { OpenApiRequestBuilder } from './openapi-request-builder.js';
export type { AzureOpenAiChatModel, AzureOpenAiEmbeddingModel, GcpVertexAiChatModel, AwsBedrockChatModel, ChatModel } from './model-types.js';
export { AzureOpenAiChatModel, AzureOpenAiEmbeddingModel, GcpVertexAiChatModel, AwsBedrockChatModel, AiCoreOpenSourceChatModel } from './model-types.js';
//# sourceMappingURL=index.d.ts.map

@@ -5,3 +5,3 @@ type LiteralUnion<T extends U, U = string> = T | (U & Record<never, never>);

*/
export type AzureOpenAiChatModel = LiteralUnion<'gpt-4o-mini' | 'gpt-4o' | 'gpt-4' | 'gpt-4-32k' | 'gpt-35-turbo' | 'gpt-35-turbo-0125' | 'gpt-35-turbo-16k'>;
export type AzureOpenAiChatModel = LiteralUnion<'gpt-4o-mini' | 'gpt-4o' | 'gpt-4' | 'gpt-4-32k' | 'gpt-35-turbo' | 'gpt-35-turbo-16k'>;
/**

@@ -14,12 +14,12 @@ * Azure OpenAI models for embedding.

*/
export type GcpVertexAiChatModel = LiteralUnion<'gemini-1.0-pro' | 'gemini-1.5-pro' | 'gemini-1.5-flash' | 'chat-bison'>;
export type GcpVertexAiChatModel = LiteralUnion<'gemini-1.0-pro' | 'gemini-1.5-pro' | 'gemini-1.5-flash'>;
/**
* AWS Bedrock models for chat completion.
*/
export type AwsBedrockChatModel = LiteralUnion<'amazon--titan-text-express' | 'amazon--titan-text-lite' | 'anthropic--claude-3-haiku' | 'anthropic--claude-3-opus' | 'anthropic--claude-3-sonnet' | 'anthropic--claude-3.5-sonnet'>;
export type AwsBedrockChatModel = LiteralUnion<'anthropic--claude-3-haiku' | 'anthropic--claude-3-opus' | 'anthropic--claude-3-sonnet' | 'anthropic--claude-3.5-sonnet'>;
/**
* All available models for chat completion.
* AI Core open source models for chat completion.
*/
export type ChatModel = LiteralUnion<AzureOpenAiChatModel | GcpVertexAiChatModel | AwsBedrockChatModel>;
export type AiCoreOpenSourceChatModel = LiteralUnion<'mistralai--mixtral-8x7b-instruct-v01' | 'meta--llama3-70b-instruct'>;
export {};
//# sourceMappingURL=model-types.d.ts.map
{
"name": "@sap-ai-sdk/core",
"version": "0.1.1-20240917012643.0",
"version": "0.1.1-20240918013048.0",
"description": "",

@@ -22,6 +22,6 @@ "license": "Apache-2.0",

"dependencies": {
"@sap-cloud-sdk/connectivity": "^3.20.0",
"@sap-cloud-sdk/http-client": "^3.20.0",
"@sap-cloud-sdk/connectivity": "^3.20.0",
"@sap-cloud-sdk/util": "^3.20.0",
"@sap-cloud-sdk/openapi": "^3.20.0"
"@sap-cloud-sdk/openapi": "^3.20.0",
"@sap-cloud-sdk/util": "^3.20.0"
},

@@ -28,0 +28,0 @@ "devDependencies": {

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

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