Skip to content

Commit

Permalink
backend: make prompts public
Browse files Browse the repository at this point in the history
  • Loading branch information
vbarda committed Nov 4, 2024
1 parent 83a1470 commit 1d260c1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions backend/retrieval_graph/prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@

# fetch from langsmith
ROUTER_SYSTEM_PROMPT = (
hub.pull("chat-langchain-router-prompt").messages[0].prompt.template
hub.pull("langchain-ai/chat-langchain-router-prompt").messages[0].prompt.template
)
GENERATE_QUERIES_SYSTEM_PROMPT = (
hub.pull("chat-langchain-generate-queries-prompt").messages[0].prompt.template
hub.pull("langchain-ai/chat-langchain-generate-queries-prompt").messages[0].prompt.template
)
MORE_INFO_SYSTEM_PROMPT = (
hub.pull("chat-langchain-more-info-prompt").messages[0].prompt.template
hub.pull("langchain-ai/chat-langchain-more-info-prompt").messages[0].prompt.template
)
RESEARCH_PLAN_SYSTEM_PROMPT = (
hub.pull("chat-langchain-research-plan-prompt").messages[0].prompt.template
hub.pull("langchain-ai/chat-langchain-research-plan-prompt").messages[0].prompt.template
)
GENERAL_SYSTEM_PROMPT = (
hub.pull("chat-langchain-general-prompt").messages[0].prompt.template
hub.pull("langchain-ai/chat-langchain-general-prompt").messages[0].prompt.template
)
RESPONSE_SYSTEM_PROMPT = (
hub.pull("chat-langchain-response-prompt").messages[0].prompt.template
hub.pull("langchain-ai/chat-langchain-response-prompt").messages[0].prompt.template
)

0 comments on commit 1d260c1

Please sign in to comment.