Skip to content
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

New presentation generator expedition #124

Conversation

AaronSosaRamos
Copy link
Contributor

@AaronSosaRamos AaronSosaRamos commented Nov 26, 2024

This PR was made for implementing the new Presentation Generator on #117.
Here is an example of a Request Payload:

{
   "user": {
      "id": "string",
      "fullName": "string",
      "email": "string"
   },
   "type": "tool",
   "tool_data": {
      "tool_id": 9,
      "inputs": [
         {
            "name": "grade_level",
            "value": "University"
         },
         {
            "name": "n_slides",
            "value": 10
         },
         {
            "name": "topic",
            "value": "Linear Algebra"
         },
         {
            "name": "objectives",
            "value": "Understand vector spaces and linear transformations"
         },
         {
            "name": "additional_comments",
            "value": "Focus on real-world applications."
         },
         {
            "name": "file_url",
            "value": "https://firebasestorage.googleapis.com/v0/b/kai-ai-f63c8.appspot.com/o/uploads%2F510f946e-823f-42d7-b95d-d16925293946-Linear%20Regression%20Stat%20Yale.pdf?alt=media&token=caea86aa-c06b-4cde-9fd0-42962eb72ddd"
         },
         {
            "name": "file_type",
            "value": "pdf"
         },
         {
            "name": "lang",
            "value": "en"
         }
      ]
   }
}

And here is the response:
image
image

@AaronSosaRamos AaronSosaRamos added type:documentation For issues related to improving, fixing, or creating documentation. type:enhancement For minor updates or changes that improve an existing feature or process. TOOL This is a tool that is currently being worked on type:new-feature For proposals or implementation of entirely new features or functionalities. labels Nov 26, 2024
@AaronSosaRamos AaronSosaRamos linked an issue Nov 26, 2024 that may be closed by this pull request
35 tasks
Copy link
Contributor

@yunusj yunusj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just document loader needs to be moved as other PRs

@AaronSosaRamos
Copy link
Contributor Author

I've moved the document loader file to a global util folder.

Copy link
Contributor

@yunusj yunusj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTG 🚀

@AaronSosaRamos AaronSosaRamos merged commit d580e64 into marvelai-org:STAGING Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TOOL This is a tool that is currently being worked on type:documentation For issues related to improving, fixing, or creating documentation. type:enhancement For minor updates or changes that improve an existing feature or process. type:new-feature For proposals or implementation of entirely new features or functionalities.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Epic 2.16 Presentation Generator
3 participants