Skip to content

Commit

Permalink
Promptaufbau umgestellt
Browse files Browse the repository at this point in the history
  • Loading branch information
TechPrototyper committed Apr 10, 2024
1 parent 115d5a5 commit 8ef7b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion API/azure_openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ async def chat(self, user_name: str, user_email: str, user_prompt: str):
# Create prompt with user details
time_stamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
logging.info(f"Timestamp: {time_stamp}")
modified_prompt = f"Mein Name: {user_name}\nDatum und Uhrzeit: {time_stamp}\nStatus der Mitleseerlaubnis: {str(transscript_allowed)}\nMein Prompt: {user_prompt}"
modified_prompt = f"Mein Name: {user_name}\nMeine E-Mail Adresse: {user_email}\nDatum und Uhrzeit: {time_stamp}\nStatus der Mitleseerlaubnis: {str(transscript_allowed)}\nMein Prompt: {user_prompt}"
logging.info(f"Modified Prompt: created.")

if transscript_allowed == 1:
Expand Down

0 comments on commit 8ef7b01

Please sign in to comment.