Skip to content

Commit

Permalink
Merge pull request #81 from intelligentnode/reduce-rag-message
Browse files Browse the repository at this point in the history
reduce the RAG system message and publish
  • Loading branch information
intelligentnode authored Jul 24, 2024
2 parents 50c30fa + 253ff20 commit 0d93363
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions intelli/utils/system_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ def load_prompt(self, file_type):
def load_static_prompt(self, file_type):
static_prompts = {
"augmented_chatbot": (
"Using the provided context, craft a cohesive response that directly addresses the user's query. "
"If the context lacks relevance or is absent, focus on generating a knowledgeable and accurate answer "
"based on the user's question alone. Aim for clarity and conciseness in your reply.\n"
"Using the provided context, craft a cohesive response that addresses the user's query. "
"If the context lacks relevance, focus on generating accurate answer "
"based on the user's question alone. Aim for clarity in your reply.\n"
"Context:\n"
"${semantic_search}\n"
"---------------------------------\n"
"------------------\n"
"User's Question:\n"
"${user_query}"
),
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name="intelli",
version="0.4.1",
version="0.4.2",
author="Intellinode",
author_email="[email protected]",
description="Create your chatbot or AI agent using Intellinode. We make any model smarter.",
Expand Down

0 comments on commit 0d93363

Please sign in to comment.