Skip to content

Commit 3753dd6

Browse files
committed
Bumps node modules
1 parent d41ed6e commit 3753dd6

2 files changed

Lines changed: 10 additions & 17 deletions

File tree

basic/cdk/lambda/app.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
1-
import { ChatPromptTemplate } from '@langchain/core/prompts';
2-
import { StringOutputParser } from '@langchain/core/output_parsers';
31
import { LanguageModelLike } from '@langchain/core/language_models/base';
42
import { BaseChatModel } from '@langchain/core/language_models/chat_models';
53
import { createAgent } from 'langchain';
64

7-
export const createApp = ({ model, modelName }: { model: LanguageModelLike & BaseChatModel, modelName: string }) => {
8-
const qaPrpmpt = `Answer the user's question to the best of your ability.
9-
However, please keep your answers brief and in the same language as the question.
10-
11-
{question}`;
12-
5+
export const createApp = ({ model }: { model: LanguageModelLike & BaseChatModel, modelName: string }) => {
136
const agent = createAgent({
147
model,
158
tools: [],
@@ -20,4 +13,4 @@ export const createApp = ({ model, modelName }: { model: LanguageModelLike & Bas
2013
});
2114

2215
return agent;
23-
}
16+
};

pnpm-lock.yaml

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)