@langchain/google-common
Advanced tools
Comparing version 0.0.23 to 0.0.24
@@ -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
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
213247
60
5594