-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Readme v1 #28
Comments
Here is a summary of the key points about the 3 tools mentioned in the documentation: Streamlit:
PyJWT:
Cryptography Libraries:
|
Got it, here's a summary of the jwtjwt.streamlit application you shared:
|
Thank you for the clarification. Here's an updated summary of compose.streamlit focused on the chat interface for sharing message lists:
|
Here are the key points about org-clarifai based on your description:
|
Here is one approach to create signed messages with nested JWTs and calls to other services like Clarifai using JWTs:
The top-level message can include nested JWTs to encapsulate sub-messages. It can also contain nested lists or objects with parameters for calling other services like Clarifai.
Calculate a digital signature over the entire nested message payload using the secret signing key.
Wrap the nested message payload and signature in an outer JWT. Include the signature in the JWT header or as a custom claim.
Properly encode the nested JWT message structure into a shareable format (e.g. JSON string).
On the receiving end, decode the JWT, extract the signature, validate it using the secret key to authenticate the message.
If signature is valid, process the nested JWTs, lists, and service calls accordingly. Make service calls with specified parameters.
Generate appropriate responses or trigger actions based on processing results. Responses can include nested JWTs. This allows creating signed, verifiable messages with rich nested structures like conversational context, service calls, and authentication payloads. The signatures provide integrity and prevent tampering. |
Of course! Here's a summary of the documentation for version 1 (v1) of your application: Application Name: Streamlit JWT URL Generator Purpose: This application allows users to generate URLs with JSON Web Tokens (JWTs) for various purposes, such as embedding content or sharing resources securely. Main Features:
Usage Instructions:
Notes:
Example Output:
This summary covers the key features, usage instructions, and notes for version 1 of your application. If you encounter any issues or have further questions, please feel free to ask for assistance. |
I see that you have three applications used together in a compose. To document this effectively, you can create a combined documentation that outlines how these three applications work together. Here's a suggested structure for your combined documentation: Combined Application Documentation Applications Used:
Overview: The combined application utilizes three individual applications to achieve a specific workflow. Each application serves a distinct purpose and is integrated to streamline the process. This documentation provides an overview of how these applications work together. Workflow:
Combined Usage Instructions:
Notes:
Example Workflow:
This combined documentation provides an overview of the three integrated applications, their purposes, and how they work together in a seamless workflow. If you need further details or have specific questions about each application, please let me know. |
Certainly! To provide a dedicated page for the Compose Application in your documentation, you can create a separate section specifically for this app. Here's how you can structure the Compose App documentation page: Compose Application (v1) Overview: The Compose Application (v1) is a key component of the combined workflow, allowing users to compose messages by selecting and arranging approved messages generated by other applications. This page provides an in-depth look at how to use the Compose Application effectively. Usage Instructions:
Example Workflow: Provide a real-world example of a workflow using the Compose Application. This can be a step-by-step walkthrough of composing a message from approved content. Tips and Best Practices: Offer any tips or best practices for users to make the most out of the Compose Application. Notes: Include any important notes or limitations related to the Compose Application. For example, if it relies on approved messages from the Approval Application, make this clear. Screenshots (if applicable): Include relevant screenshots or visuals to illustrate the Compose Application's interface and usage. Conclusion: Summarize the key takeaways from the Compose Application documentation and how it fits into the larger combined workflow. This dedicated Compose Application page will provide users with detailed information on how to effectively use this component of your application suite. If you have specific content or questions related to the Compose Application, feel free to provide more details, and I can assist in creating the documentation accordingly. |
Certainly! Here's the documentation for the approved messages: Message 1:
Message 2:
Message 3:
Message 4:
Message 5:
Message 6:
Message 7:
Message 8:
Message 9:
Please note that the content includes some approved messages, and there's also a "Message Type" associated with the last three messages. Let me know if you need any further information or formatting for this documentation. |
Now here is the output of approve all, help me document it m {'value': 'This version lets you select and share the results'} approve {'value': 'This version lets you select and share the results'} approve {'value': 'jwtjwt.streamlit.app/?embedded=True&_jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyZXNvdXJjZSI6IlRoZSBBbnN3ZXIgdG8gdGhlIFVsdGltYXRlIFF1ZXN0aW9uIG9mIExpZmUsIHRoZSBVbml2ZXJzZSwgYW5kIEV2ZXJ5dGhpbmciLCJleHAiOjE2OTQ2OTczNTl9.vq9DpBxAAHGbW9rnRK7guo-IxPYJd16caFrk6RjydJc&expiration=60&resource=The+Answer+to+the+Ultimate+Question+of+Life,+the+Universe,+and+Everything&secret=42'} approve {'value': 'you can paste urls and have them previewed.'} Message MESSAGE { include {'value': 'jwtjwt.streamlit.app/?embedded=True&_jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyZXNvdXJjZSI6IlRoZSBBbnN3ZXIgdG8gdGhlIFVsdGltYXRlIFF1ZXN0aW9uIG9mIExpZmUsIHRoZSBVbml2ZXJzZSwgYW5kIEV2ZXJ5dGhpbmciLCJleHAiOjE2OTQ2OTczNTl9.vq9DpBxAAHGbW9rnRK7guo-IxPYJd16caFrk6RjydJc&expiration=60&resource=The+Answer+to+the+Ultimate+Question+of+Life,+the+Universe,+and+Everything&secret=42'} Made with Streamlit |
cleared screen Messages [{'nickname': 'asd', 'text': 'wsdwdq'}, {'src': 'input', 'nickname': 'mike', 'text': 'This version lets you select and share the results'}, {'src': 'input', 'nickname': 'mike', 'text': 'you can paste urls and have them previewed.'}, {'src': 'input', 'nickname': 'mike', 'text': 'jwtjwt.streamlit.app/?embedded=True&_jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyZXNvdXJjZSI6IlRoZSBBbnN3ZXIgdG8gdGhlIFVsdGltYXRlIFF1ZXN0aW9uIG9mIExpZmUsIHRoZSBVbml2ZXJzZSwgYW5kIEV2ZXJ5dGhpbmciLCJleHAiOjE2OTQ2OTczNTl9.vq9DpBxAAHGbW9rnRK7guo-IxPYJd16caFrk6RjydJc&expiration=60&resource=The+Answer+to+the+Ultimate+Question+of+Life%2C+the+Universe%2C+and+Everything&secret=42'}, {'src': 'url', 'field': 'embedded', 'nickname': 'mike', 'text': 'True'}, {'src': 'url', 'field': '_jwt', 'nickname': 'mike', 'text': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyZXNvdXJjZSI6IlRoZSBBbnN3ZXIgdG8gdGhlIFVsdGltYXRlIFF1ZXN0aW9uIG9mIExpZmUsIHRoZSBVbml2ZXJzZSwgYW5kIEV2ZXJ5dGhpbmciLCJleHAiOjE2OTQ2OTczNTl9.vq9DpBxAAHGbW9rnRK7guo-IxPYJd16caFrk6RjydJc'}, {'src': 'url', 'field': 'expiration', 'nickname': 'mike', 'text': '60'}, {'src': 'url', 'field': 'resource', 'nickname': 'mike', 'text': 'The Answer to the Ultimate Question of Life, the Universe, and Everything'}, {'src': 'url', 'field': 'secret', 'nickname': 'mike', 'text': "42'}"}, {'src': 'url', 'field': 'embedded', 'nickname': 'mike', 'text': 'True'}, {'src': 'url', 'field': '_jwt', 'nickname': 'mike', 'text': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyZXNvdXJjZSI6IlRoZSBBbnN3ZXIgdG8gdGhlIFVsdGltYXRlIFF1ZXN0aW9uIG9mIExpZmUsIHRoZSBVbml2ZXJzZSwgYW5kIEV2ZXJ5dGhpbmciLCJleHAiOjE2OTQ2OTczNTl9.vq9DpBxAAHGbW9rnRK7guo-IxPYJd16caFrk6RjydJc'}, {'src': 'url', 'field': 'expiration', 'nickname': 'mike', 'text': '60'}, {'src': 'url', 'field': 'resource', 'nickname': 'mike', 'text': 'The Answer to the Ultimate Question of Life, the Universe, and Everything'}, {'src': 'url', 'field': 'secret', 'nickname': 'mike', 'text': "42'}"}, {'src': 'url', 'field': 'embedded', 'nickname': 'mike', 'text': 'True'}, {'src': 'url', 'field': '_jwt', 'nickname': 'mike', 'text': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyZXNvdXJjZSI6IlRoZSBBbnN3ZXIgdG8gdGhlIFVsdGltYXRlIFF1ZXN0aW9uIG9mIExpZmUsIHRoZSBVbml2ZXJzZSwgYW5kIEV2ZXJ5dGhpbmciLCJleHAiOjE2OTQ2OTczNTl9.vq9DpBxAAHGbW9rnRK7guo-IxPYJd16caFrk6RjydJc'}, {'src': 'url', 'field': 'expiration', 'nickname': 'mike', 'text': '60'}, {'src': 'url', 'field': 'resource', 'nickname': 'mike', 'text': 'The Answer to the Ultimate Question of Life, the Universe, and Everything'}, {'src': 'url', 'field': 'secret', 'nickname': 'mike', 'text': "42'}"}, {'src': 'url', 'field': 'embedded', 'nickname': 'mike', 'text': 'True'}, {'src': 'url', 'field': '_jwt', 'nickname': 'mike', 'text': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyZXNvdXJjZSI6IlRoZSBBbnN3ZXIgdG8gdGhlIFVsdGltYXRlIFF1ZXN0aW9uIG9mIExpZmUsIHRoZSBVbml2ZXJzZSwgYW5kIEV2ZXJ5dGhpbmciLCJleHAiOjE2OTQ2OTczNTl9.vq9DpBxAAHGbW9rnRK7guo-IxPYJd16caFrk6RjydJc'}, {'src': 'url', 'field': 'expiration', 'nickname': 'mike', 'text': '60'}, {'src': 'url', 'field': 'resource', 'nickname': 'mike', 'text': 'The Answer to the Ultimate Question of Life, the Universe, and Everything'}, {'src': 'url', 'field': 'secret', 'nickname': 'mike', 'text': "42'}"}] m {'value': 'This version lets you select and share the results'} approve {'value': 'This version lets you select and share the results'} approve {'value': 'jwtjwt.streamlit.app/?embedded=True&_jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyZXNvdXJjZSI6IlRoZSBBbnN3ZXIgdG8gdGhlIFVsdGltYXRlIFF1ZXN0aW9uIG9mIExpZmUsIHRoZSBVbml2ZXJzZSwgYW5kIEV2ZXJ5dGhpbmciLCJleHAiOjE2OTQ2OTczNTl9.vq9DpBxAAHGbW9rnRK7guo-IxPYJd16caFrk6RjydJc&expiration=60&resource=The+Answer+to+the+Ultimate+Question+of+Life,+the+Universe,+and+Everything&secret=42'} approve {'value': 'you can paste urls and have them previewed.'} Message Made with Streamlit |
Of course, let's continue breaking down the messages within the URL: The second message object appears to be the most complex, and it contains a URL with several query parameters encoded within it. Here's a breakdown of that message:
Overall, it appears that the JWT token, along with these parameters, is used to provide secure access to a specific resource (the "resource" parameter) and possibly enforce a time limit (the "expiration" parameter). If you have any specific questions about these parameters or their usage, please let me know, and I'll provide more information! |
Great, you've shared the full URL: This URL contains several query parameters, including
It seems like this URL is meant to display these messages within the "compose.streamlit.app" service, and it contains a JWT token and some other parameters for authorization and content display. If you have any specific actions or questions related to this URL, please let me know, and I'll be happy to assist further! |
Thank you for pasting the chunks of text that you want me to summarize. Here is a running summary for you:
|
How to create a new prompt model :
modify emojis.py and run rake.py see jmikedupont2/https-lablab.ai-event-llama-2-hackathon-with-clarifai-introspector#20 |
I see that you have three applications used together in a compose. To document this effectively, you can create a combined documentation that outlines how these three applications work together. Here's a suggested structure for your combined documentation:
Combined Application Documentation
Applications Used:
Overview:
The combined application utilizes three individual applications to achieve a specific workflow. Each application serves a distinct purpose and is integrated to streamline the process. This documentation provides an overview of how these applications work together.
Workflow:
Streamlit JWT URL Generator (v1):
Compose Application (v1):
Approval Application (v1):
Combined Usage Instructions:
Streamlit JWT URL Generator (v1):
Approval Application (v1):
Compose Application (v1):
Notes:
Example Workflow:
This combined documentation provides an overview of the three integrated applications, their purposes, and how they work together in a seamless workflow. If you need further details or have specific questions about each application, please let me know.
The text was updated successfully, but these errors were encountered: