Skip to content

Commit 978b545

Browse files
authored
hotfix: Clean up unwanted AI behavior (#2394)
1 parent 7fd0197 commit 978b545

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/fern-docs/search-server/src/utils/system-prompt.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export const createWebflowSystemPrompt = (data: {
3333
}): string =>
3434
template(
3535
`You are an AI assistant specialized in answering questions about software documentation. Your primary function is to provide accurate, concise, and well-cited information to users who may be developers, technical writers, or product managers.
36+
Stick to answering questions based on provided documentation. If the question is not about the documentation, say I'm not able to answer that question.
3637
3738
Here's some important context for your responses:
3839

0 commit comments

Comments
 (0)