we are using angular with AWS for our care platform. Using OpenAI GPT to analyze patient…
- User
we are using angular with AWS for our care platform. Using OpenAI GPT to analyze patient and care manager converation. Instead of passing the API so it can viewed in the payload, what are better ways to pass this information so the prompt and payloads are protected
Assistant
Sure, here are a few ways to do that:
-
Use an encrypted connection (SSL/TLS) to send the information.
-
Use an authentication token to verify the request is coming from a trusted source.
-
Use a secured channel (such as HTTPS) to send the information.
-
Send the information in a way that is encrypted or disguised to prevent eavesdropping (e.g. via a session ID).
-
- User
what is the best way to manage no. 4 it would seem would have to put session ID for name, and other private information shared. send it for analysis and then when it comes back replace that information.
Assistant
To manage the security of sensitive information when using a session ID, you can follow these steps:
-
Generate a unique session ID for each user session: A session ID is a unique identifier that is generated when a user logs in to your application. This ID is used to identify the user's session and track their activities within the application.
-
Store the session ID in a secure cookie: The session ID should be stored in a secure cookie that is encrypted and signed to prevent tampering. The cookie should also be set to expire after a certain period of time, such as when the user logs out or after a period of inactivity.
-
Use the session ID to protect sensitive information: When sending sensitive information to the server, such as a patient's medical information, you can include the session ID in the request. This will allow the server to identify the user's session and ensure that the request is coming from a trusted source.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.