zoya23 commited on
Commit
2a5dd60
·
verified ·
1 Parent(s): 490b63e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -15,12 +15,10 @@ examples = [
15
  for dialogue in dataset
16
  ]
17
 
18
- # Create FewShotChatMessagePromptTemplate
19
  example_prompt = FewShotChatMessagePromptTemplate(
20
  examples=examples,
21
- input_variables=["input"],
22
- prefix="You are a helpful summarizer. Here are a few examples:",
23
- suffix="Now summarize this: {input}"
24
  )
25
 
26
  # Streamlit UI
 
15
  for dialogue in dataset
16
  ]
17
 
18
+ # Create FewShotChatMessagePromptTemplate without prefix and suffix
19
  example_prompt = FewShotChatMessagePromptTemplate(
20
  examples=examples,
21
+ input_variables=["input"] # only the required fields
 
 
22
  )
23
 
24
  # Streamlit UI