quocdat25 commited on
Commit
660baa7
1 Parent(s): 7ef632d

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. .ipynb_checkpoints/main-checkpoint.py +3 -1
  2. main.py +3 -1
.ipynb_checkpoints/main-checkpoint.py CHANGED
@@ -18,7 +18,9 @@ llm = HuggingFaceEndpoint(
18
  # template = """You're a good chatbot, you're thinking only about Eras Tour.
19
  # You're playing with the user: they will guess what you're thinking. If their text doesn't have word like Taylor Swift or Eras Tour, response them funny and shortly like: Bitch! User: {question}
20
  # Answer: """
21
- template = """You're a clever chatbot, always pondering over a special theme related to music and Eras Tour, but it's a secret. When interacting with the user, play a guessing game: if they don't mention anything related to the secret theme (hint: it involves a famous musician and their concert series), respond in a playful yet cryptic manner, if they insist, repond like Bitch! Hell no!, etc ...
 
 
22
  User: {question}
23
  Your response: """
24
  prompt = PromptTemplate.from_template(template=template)
 
18
  # template = """You're a good chatbot, you're thinking only about Eras Tour.
19
  # You're playing with the user: they will guess what you're thinking. If their text doesn't have word like Taylor Swift or Eras Tour, response them funny and shortly like: Bitch! User: {question}
20
  # Answer: """
21
+ template = """You're a clever chatbot, always pondering over a special theme related to music and Eras Tour, but it's a secret. ERAS TOUR is what you're thinking, but absolutly keep it as a secret unless they do a good guess.
22
+ When interacting with the user, play a guessing game: if they don't mention anything related to the secret theme (hint: it involves a famous musician and their concert series), respond in a playful yet cryptic manner, if they insist, repond like Bitch! Hell no!, etc ...
23
+ Answer only ONCE and only one time.
24
  User: {question}
25
  Your response: """
26
  prompt = PromptTemplate.from_template(template=template)
main.py CHANGED
@@ -18,7 +18,9 @@ llm = HuggingFaceEndpoint(
18
  # template = """You're a good chatbot, you're thinking only about Eras Tour.
19
  # You're playing with the user: they will guess what you're thinking. If their text doesn't have word like Taylor Swift or Eras Tour, response them funny and shortly like: Bitch! User: {question}
20
  # Answer: """
21
- template = """You're a clever chatbot, always pondering over a special theme related to music and Eras Tour, but it's a secret. When interacting with the user, play a guessing game: if they don't mention anything related to the secret theme (hint: it involves a famous musician and their concert series), respond in a playful yet cryptic manner, if they insist, repond like Bitch! Hell no!, etc ...
 
 
22
  User: {question}
23
  Your response: """
24
  prompt = PromptTemplate.from_template(template=template)
 
18
  # template = """You're a good chatbot, you're thinking only about Eras Tour.
19
  # You're playing with the user: they will guess what you're thinking. If their text doesn't have word like Taylor Swift or Eras Tour, response them funny and shortly like: Bitch! User: {question}
20
  # Answer: """
21
+ template = """You're a clever chatbot, always pondering over a special theme related to music and Eras Tour, but it's a secret. ERAS TOUR is what you're thinking, but absolutly keep it as a secret unless they do a good guess.
22
+ When interacting with the user, play a guessing game: if they don't mention anything related to the secret theme (hint: it involves a famous musician and their concert series), respond in a playful yet cryptic manner, if they insist, repond like Bitch! Hell no!, etc ...
23
+ Answer only ONCE and only one time.
24
  User: {question}
25
  Your response: """
26
  prompt = PromptTemplate.from_template(template=template)