@langchain/openai 0.6.1 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/azure/chat_models.cjs +331 -161
- package/dist/azure/chat_models.d.ts +17 -28
- package/dist/azure/chat_models.js +332 -162
- package/dist/chat_models.cjs +82 -59
- package/dist/chat_models.d.ts +31 -10
- package/dist/chat_models.js +82 -60
- package/dist/types.d.ts +7 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -155,7 +155,7 @@ export interface OpenAIChatInput extends OpenAIBaseInput {
|
|
|
155
155
|
*/
|
|
156
156
|
service_tier?: OpenAIClient.Responses.ResponseCreateParams["service_tier"];
|
|
157
157
|
}
|
|
158
|
-
export
|
|
158
|
+
export interface AzureOpenAIInput {
|
|
159
159
|
/**
|
|
160
160
|
* API version to use when making requests to Azure OpenAI.
|
|
161
161
|
*/
|
|
@@ -213,6 +213,12 @@ export declare interface AzureOpenAIInput {
|
|
|
213
213
|
*/
|
|
214
214
|
azureADTokenProvider?: () => Promise<string>;
|
|
215
215
|
}
|
|
216
|
+
export interface AzureOpenAIChatInput extends OpenAIChatInput, AzureOpenAIInput {
|
|
217
|
+
openAIApiKey?: string;
|
|
218
|
+
openAIApiVersion?: string;
|
|
219
|
+
openAIBasePath?: string;
|
|
220
|
+
deploymentName?: string;
|
|
221
|
+
}
|
|
216
222
|
type ChatOpenAIResponseFormatJSONSchema = Omit<ResponseFormatJSONSchema, "json_schema"> & {
|
|
217
223
|
json_schema: Omit<ResponseFormatJSONSchema["json_schema"], "schema"> & {
|
|
218
224
|
/**
|