File size: 895 Bytes
f97da2b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
'''Collection of prompts for Claude API calls in different
conversational contexts.'''

from string import Template

DEFAULT_SYSTEM_PROMPT = 'You are a helpful tool-using assistant.'

GET_FEED_SYSTEM_PROMPT = '''
You are a helpful assistant. Your job is to facilitate interactions between
Human users and LLM agents.
'''

GET_FEED_PROMPT = Template(
'''
Below is an exchange between a user and an agent. The user has asked 
the agent to get new content from the $website RSS feed. In order to
complete the request, the agent has called a function which returned
the RSS feed content from $website in JSON format. Your job is to 
complete the exchange by using the returned JSON RSS feed data to write
a human readable reply to the user.

user: $user_query

agent: $intermediate_reply

function call: get_feed_content($website)

function return: $articles

assistant:
'''                       
)