mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 17:01:00 +03:00
Feature/update openai version, add reasoning effort param, add o3 mini (#3973)
* update openai version, add reasoning effort param * update azure * add filter for pinecone llamaindex * update graph cypher qa chain
This commit is contained in:
@@ -3,7 +3,7 @@ import { getCredentialData } from './utils'
|
||||
import { ChatAnthropic } from '@langchain/anthropic'
|
||||
import { ChatGoogleGenerativeAI } from '@langchain/google-genai'
|
||||
import { ChatMistralAI } from '@langchain/mistralai'
|
||||
import { ChatOpenAI } from '@langchain/openai'
|
||||
import { ChatOpenAI, AzureChatOpenAI } from '@langchain/openai'
|
||||
import { z } from 'zod'
|
||||
import { PromptTemplate } from '@langchain/core/prompts'
|
||||
import { StructuredOutputParser } from '@langchain/core/output_parsers'
|
||||
@@ -46,7 +46,7 @@ export const generateFollowUpPrompts = async (
|
||||
const azureOpenAIApiDeploymentName = credentialData['azureOpenAIApiDeploymentName']
|
||||
const azureOpenAIApiVersion = credentialData['azureOpenAIApiVersion']
|
||||
|
||||
const llm = new ChatOpenAI({
|
||||
const llm = new AzureChatOpenAI({
|
||||
azureOpenAIApiKey,
|
||||
azureOpenAIApiInstanceName,
|
||||
azureOpenAIApiDeploymentName,
|
||||
|
||||
Reference in New Issue
Block a user