feat(agents): Use LLM name from env
This commit is contained in:
parent
3859e3db03
commit
4ab8d6c834
8 changed files with 14 additions and 13 deletions
|
@ -19,13 +19,13 @@ import eventEmitter from 'events';
|
|||
import computeSimilarity from '../utils/computeSimilarity';
|
||||
|
||||
const chatLLM = new ChatOpenAI({
|
||||
modelName: 'gpt-3.5-turbo',
|
||||
modelName: process.env.MODEL_NAME,
|
||||
temperature: 0.7,
|
||||
});
|
||||
|
||||
const llm = new OpenAI({
|
||||
temperature: 0,
|
||||
modelName: 'gpt-3.5-turbo',
|
||||
modelName: process.env.MODEL_NAME,
|
||||
});
|
||||
|
||||
const embeddings = new OpenAIEmbeddings({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue