rairo commited on
Commit
80f2554
·
verified ·
1 Parent(s): a29ae81

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -137,7 +137,7 @@ def marketing_rec():
137
 
138
  transactions_df = pd.DataFrame(transactions_list)
139
  # Set up a prompt template
140
- prompt = PromptTemplate.from_template('You are a business analyst.In the fewest words possible, write some very brief marketing tips suitable for a small business with this transactions data {data_frame}')
141
 
142
  # Create a chain that utilizes both the LLM and the prompt template
143
  chain = LLMChain(llm=llm2, prompt=prompt, verbose=True)
 
137
 
138
  transactions_df = pd.DataFrame(transactions_list)
139
  # Set up a prompt template
140
+ prompt = PromptTemplate.from_template('You are a business analyst.In the fewest words possible, write a brief analysis and some very brief marketing tips suitable for a small business with this transactions data {data_frame}')
141
 
142
  # Create a chain that utilizes both the LLM and the prompt template
143
  chain = LLMChain(llm=llm2, prompt=prompt, verbose=True)