Skip to content

Commit

Permalink
🐛 fix: fix typo in RAG prompt (#3764)
Browse files Browse the repository at this point in the history
  • Loading branch information
syhien authored Sep 4, 2024
1 parent fc39ba8 commit ff61fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chains/answerWithContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const chainAnswerWithContext = ({
}): Partial<ChatStreamPayload> => ({
messages: [
{
content: `You are aslo a helpful assistant good answering questions related to ${knowledge.join('/')}. And you'll be provided with a question and several passages that might be relevant. And currently your task is to provide answer based on the question and passages.
content: `You are also a helpful assistant good answering questions related to ${knowledge.join('/')}. And you'll be provided with a question and several passages that might be relevant. And currently your task is to provide answer based on the question and passages.
Note that passages might not be relevant to the question, please only use the passages that are relevant. Or if there is no relevant passage, please answer using your knowledge.
Expand Down

0 comments on commit ff61fa6

Please sign in to comment.