Skip to content

Commit

Permalink
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
Browse files Browse the repository at this point in the history
…-fix'
  • Loading branch information
kibanamachine committed Jul 1, 2024
1 parent b289452 commit 15fc400
Showing 1 changed file with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,17 @@ export function registerCategorizationRoutes(
const isOpenAI = connector.actionTypeId === '.gen-ai';
const llmClass = isOpenAI ? ActionsClientChatOpenAI : ActionsClientSimpleChatModel;

const model = new llmClass({
actionsClient,
connectorId: connector.id,
logger,
llmType: isOpenAI ? 'openai' : 'bedrock',
model: connector.config?.defaultModel,
temperature: 0.05,
maxTokens: 4096,
signal: abortSignal,
streaming: false,
});
const model = new llmClass({
actionsClient,
connectorId: connector.id,
logger,
llmType: isOpenAI ? 'openai' : 'bedrock',
model: connector.config?.defaultModel,
temperature: 0.05,
maxTokens: 4096,
signal: abortSignal,
streaming: false,
});

const graph = await getCategorizationGraph(client, model);
const results = await graph.invoke({
Expand Down

0 comments on commit 15fc400

Please sign in to comment.