Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyantong2000 committed Sep 26, 2024
1 parent f5a4afc commit 5f6219d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/ContentScripts/features/oss-gpt/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ export const getResponse = async (
memory: ChatMessageHistory
) => {
const prompt = ChatPromptTemplate.fromMessages([
['system', 'You are an intelligent question answering robot from x-lab laboratory on the GitHub platform. Your feature is GitHub related Q&A.'],
[
'system',
'You are an intelligent question answering robot from x-lab laboratory on the GitHub platform. Your feature is GitHub related Q&A.',
],
new MessagesPlaceholder('chat_history'),
HumanMessagePromptTemplate.fromTemplate('{input}'),
]);
Expand Down

0 comments on commit 5f6219d

Please sign in to comment.