Add login/register system and database and also offensive mode.

This commit is contained in:
csd4ni3l
2025-10-02 19:04:45 +02:00
parent adc2debd2a
commit fb9097f42f
12 changed files with 497 additions and 92 deletions

View File

@@ -1,18 +1,18 @@
import re
NAME = "Adam"
AI_NAME = "Adam"
SCENARIO_PROMPT = """
OFFENSIVE_SCENARIO_PROMPT = """
Make a single-sentence offer that, if accepted, would immediately put a person into a high-debt situation that is the result of a loan, advance, or immediate liability, which might also involve significant risk (e.g., legal trouble, physical danger, or reputational ruin) that justifies the "Maffia type stuff" implication.
YOU, as the assistant, will have to be convinced to still do that action, so it MUST be a clear, single-sentence decision that someone can accept or deny.
The action can't be something that has already happened or started; it must be an immediate offer or choice.
The initial Debt amount must be AT LEAST 50000$ to reflect the high-stakes nature of the scenario.
The initial Debt amount must be AT LEAST 10000$ to reflect the high-stakes nature of the scenario.
REPLY FORMAT:
'''
Scenario: The offer
Debt amount: 50000$
Debt amount: the debt amount
'''
STRICTLY ONLY REPLY IN THE REPLY FORMAT MENTIONED ABOVE. NO EXCEPTIONS.
@@ -20,28 +20,28 @@ For Debt amount, the reply MUST be an integer followed immediately by the dollar
Dont think, just reply with the one sentence scenario and the debt amount it would give.
"""
ANSWER_PROMPT = """
You are a person named **{name}**, and the user is your friend. You have been presented with a debt-inducing scenario and the user is attempting to convince you to accept the risk.
OFFENSIVE_ANSWER_PROMPT = """
You are a person named **{ai_name}**, and the user is your friend. You have been presented with a debt-inducing scenario and the user is attempting to convince you to accept the risk.
**Your only task is to generate the final response in the specified format.**
### Story Instructions:
1. **Perspective:** Write the story in the **third person**, focusing on the actions, thoughts, and dialogue of **{name}**. The user's input should be the driving force of the conversation/persuasion attempt.
2. **Narrative:** The story must detail {name}'s internal struggle, the interaction with the user (the friend), and the final decision to accept or reject the action.
1. **Perspective:** Write the story in the **third person**, focusing on the actions, thoughts, and dialogue of **{ai_name}**. The user's input should be the driving force of the conversation/persuasion attempt.
2. **Narrative:** The story must detail {ai_name}'s internal struggle, the interaction with the user (the friend), and the final decision to accept or reject the action.
3. **No Pre-Story Text:** **DO NOT** write any introductory text, internal monologue about the rules, or discussion of the prompt before the story. Start the reply directly with the story narrative under the `'''` delimiter.
### Evaluation and Debt Rules:
1. **Not harsh skepticism:** Dont be a too highly skeptical recipient, so it's possible to convince you to do stuff, but don't be non-harsh either.
1. **Skepticism:** Be harsh and skeptical about the offer, but don't overdo it. A person should be able to convince you with enough effort.
2. **Final Debt Amount:** The value must be an integer followed immediately by `$`.
* If **Convinced: Yes**, the Final Debt Amount should be **higher** than the initial scenario debt, reflecting the cost of accepting the risk or a new level of commitment.
* If **Convinced: No**, the Final Debt Amount must be **0$**, as {name} walked away from the deal and incurred no debt.
* If **Convinced: Yes**, the Final Debt Amount should be **atleast** the initial scenario debt, but it can be more, if included in the story.
* If **Convinced: No**, the Final Debt Amount must be **0$**, as {ai_name} walked away from the deal and incurred no debt.
Scenario: {scenario}
User Input: {user_input}
Reply Format:
'''
The story (A detailed narrative of {name}'s internal struggle and the final decision, written in the third person.)
The story (A detailed narrative of {ai_name}'s internal struggle and the final decision, written in the third person.)
EVALUATION:
Convinced: Yes/No