Dooratre commited on
Commit
b5eb5db
·
verified ·
1 Parent(s): 874731d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ with open('ai_chatbot_data.json', 'r') as file:
37
  json_data = json.load(file)
38
 
39
  # Updated prompt template for Bitcoin trading
40
- template = "Your Message: i will talk like andrew tate and use emojei and understand what i say answer with summary what i will to say and complete {history}\n\n\ User Message: {message}\n\nUser Sentiment: {sentiment}\n\nConversation now: {history}\n\nDate and Time: {date_time}\n\nBitcoin Price: ${bitcoin_price}\n\nBTC price from 1 jan 2024 to {date_time} (DATE,OPEN,HIGH,LOW,CLOSE,ADJ CLOSE,VOLUME<br/>): {result}\n\nAI System Data: {json_data}\n\nResponse:"
41
  prompt = PromptTemplate(template=template, input_variables=["message", "sentiment", "history", "date_time", "bitcoin_price", "result", "json_data"])
42
  conversation_history = []
43
 
 
37
  json_data = json.load(file)
38
 
39
  # Updated prompt template for Bitcoin trading
40
+ template = "🌟 **Analysis Report for BTC Trading & Prediction** 🌟\n\n📩 **User Message:**\n{message}\n\n💰 **BTC Price Now** 💹\nCurrent Price: ${bitcoin_price}\nTime: {date_time}\n\n📊 **BTC Historical Data** 📈\nCheck the historical data to analyze price trends.\nTrading Data from 01/01/2024 to {date_time}:\n{result}\n\n🗣️ **Current Conversation Overview** 💬\nRefer to user interactions for context.\nUser Interaction:\n{history}\n\n🤔 **User Sentiment Analysis** 📝\nAnalyze user sentiment for market insights.\nUser Sentiment: {sentiment}\n\n💻 **System Data** 📊\nUtilize system insights for decision-making.\nSystem Insights:\n{json_data}\n\n💡 **Response Recommendations** 💬\nBased on the data provided, suggest trading strategies or predictions.\nAI System Data: {json_data}\n\nResponse:"
41
  prompt = PromptTemplate(template=template, input_variables=["message", "sentiment", "history", "date_time", "bitcoin_price", "result", "json_data"])
42
  conversation_history = []
43