@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/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 declare interface AzureOpenAIInput {
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
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/openai",
3
- "version": "0.6.1",
3
+ "version": "0.6.3",
4
4
  "description": "OpenAI integrations for LangChain.js",
5
5
  "type": "module",
6
6
  "engines": {