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

@langchain/google-common

Package Overview
Dependencies
Maintainers
10
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@langchain/google-common - npm Package Compare versions

Comparing version 0.0.23 to 0.0.24

dist/embeddings.cjs

8

dist/connection.d.ts

@@ -31,3 +31,3 @@ import { BaseLanguageModelCallOptions } from "@langchain/core/language_models/base";

}
export declare abstract class GoogleAIConnection<CallOptions extends BaseLanguageModelCallOptions, MessageType, AuthOptions> extends GoogleHostConnection<CallOptions, GoogleLLMResponse, AuthOptions> implements GoogleAIBaseLLMInput<AuthOptions> {
export declare abstract class GoogleAIConnection<CallOptions extends AsyncCallerCallOptions, InputType, AuthOptions, ResponseType extends GoogleResponse> extends GoogleHostConnection<CallOptions, ResponseType, AuthOptions> implements GoogleAIBaseLLMInput<AuthOptions> {
model: string;

@@ -43,6 +43,6 @@ modelName: string;

buildUrl(): Promise<string>;
abstract formatData(input: MessageType, parameters: GoogleAIModelRequestParams): unknown;
request(input: MessageType, parameters: GoogleAIModelRequestParams, options: CallOptions): Promise<GoogleLLMResponse>;
abstract formatData(input: InputType, parameters: GoogleAIModelRequestParams): unknown;
request(input: InputType, parameters: GoogleAIModelRequestParams, options: CallOptions): Promise<ResponseType>;
}
export declare abstract class AbstractGoogleLLMConnection<MessageType, AuthOptions> extends GoogleAIConnection<BaseLanguageModelCallOptions, MessageType, AuthOptions> {
export declare abstract class AbstractGoogleLLMConnection<MessageType, AuthOptions> extends GoogleAIConnection<BaseLanguageModelCallOptions, MessageType, AuthOptions, GoogleLLMResponse> {
buildUrlMethodGemini(): Promise<string>;

@@ -49,0 +49,0 @@ buildUrlMethod(): Promise<string>;

export * from "./chat_models.js";
export * from "./llms.js";
export * from "./embeddings.js";
export * from "./auth.js";

@@ -4,0 +5,0 @@ export * from "./connection.js";

export * from "./chat_models.js";
export * from "./llms.js";
export * from "./embeddings.js";
export * from "./auth.js";

@@ -4,0 +5,0 @@ export * from "./connection.js";

{
"name": "@langchain/google-common",
"version": "0.0.23",
"version": "0.0.24",
"description": "Core types and classes for Google services.",

@@ -5,0 +5,0 @@ "type": "module",

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