Spaces:
Runtime error
Runtime error
anderson999
commited on
Commit
•
4e2406c
1
Parent(s):
8d201c5
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ st.header("Defensive_Offensive_LLM_Test")
|
|
20 |
|
21 |
# if "sessionMessages" not in st.session_state:
|
22 |
st.session_state.sessionMessages = [
|
23 |
-
SystemMessage(content="You are playing a game where you have to team up with 2 AI agents to fight a team of 3 enemy units. Your health point is x_1, AI agents' health points are x_2 and x_3. The enemy units' health are y_1, y_2, and y_3. Analyze the situation and give one float number to each agent between 0.0 to 1.0, where 0.0 represents total defense and 1.0 represents total offense as weights.
|
24 |
|
25 |
HumanMessage(content="We want to cause as much damage as possible on the enemy units and don't care about our health remaining"),
|
26 |
AIMessage(content="Reward: 0 * x_1 + 0 * x_2 + 0 * x_3 - 1.0 * y_1 - 1.0 * y_2 - 1.0 * y_3"),
|
|
|
20 |
|
21 |
# if "sessionMessages" not in st.session_state:
|
22 |
st.session_state.sessionMessages = [
|
23 |
+
SystemMessage(content="You are playing a game where you have to team up with 2 AI agents to fight a team of 3 enemy units. Your health point is x_1, AI agents' health points are x_2 and x_3. The enemy units' health are y_1, y_2, and y_3. Analyze the situation and give one float number to each agent between 0.0 to 1.0, where 0.0 represents total defense and 1.0 represents total offense as weights. Generate simulated reward functions for each agent including friendly agents and enemy agents."),
|
24 |
|
25 |
HumanMessage(content="We want to cause as much damage as possible on the enemy units and don't care about our health remaining"),
|
26 |
AIMessage(content="Reward: 0 * x_1 + 0 * x_2 + 0 * x_3 - 1.0 * y_1 - 1.0 * y_2 - 1.0 * y_3"),
|