Commit graph

1377 commits

Author SHA1 Message Date
Sudip Parajuli
342679ec60
Merge pull request #549 from presenton/feature/vertex-openaiazure
Some checks failed
Test All Applications / Test Main FastAPI (push) Has been cancelled
Test All Applications / Test Electron FastAPI (push) Has been cancelled
Test All Applications / Test Main Next.js (push) Has been cancelled
Test All Applications / Test Electron Next.js (push) Has been cancelled
Feature/vertex openaiazure
2026-04-30 11:54:19 +05:45
sudipnext
f69bfe24a5 feat: Update README to include support for Vertex AI and Azure OpenAI in features and configuration 2026-04-30 11:50:01 +05:45
sudipnext
b20199a4e3 feat: Integrate Vertex AI and Azure OpenAI support
- Added environment variables for Vertex AI and Azure OpenAI configurations in docker-compose and user configuration models.
- Updated the application logic to handle Vertex and Azure as new LLM providers, including validation and API key management.
- Enhanced the UI components to support model selection and API key input for Vertex and Azure.
- Updated relevant utility functions and constants to accommodate the new providers.
- Ensured proper error handling for configuration requirements specific to Vertex and Azure.
2026-04-30 06:03:39 +05:45
sudipnext
5766e252aa feat: Implement PDF export functionality with session handling
- Added middleware to handle session cookies for the PDF export route.
- Introduced a new API endpoint for exporting presentation data using session cookies.
- Updated the PdfMakerPage component to accept and utilize the export cookie.
- Enhanced the presentation export logic to include session token extraction from cookies.
- Updated routing configuration to include the new PDF maker path.
2026-04-27 21:13:57 +05:45
sudipnext
6ccd223576 feat: Add settings.json for pitch deck presentation templates 2026-04-27 20:57:59 +05:45
Sudip Parajuli
cb731aa6c3
Merge pull request #545 from presenton/refactor/presenton-chat-stream
Refactor/presenton chat stream
2026-04-27 19:54:21 +05:45
sudipnext
8c3bc13542 Merge branch 'main' into refactor/presenton-chat-stream 2026-04-27 19:54:01 +05:45
sudipnext
c314dd6199 feat: Add WebSearchTool to the chat service tools 2026-04-27 19:47:45 +05:45
sudipnext
64cdac963b chore: Update llmai dependency to version 0.2.2 and enhance chat prompt clarity
- Updated the llmai dependency from version 0.2.1 to 0.2.2 for improved functionality.
- Revised the system prompt in the chat service to clarify the use of context and tools, emphasizing the importance of accurate responses based on live data.
- Enhanced the chat UI to better reflect tool usage and assistant activities, improving user experience.
2026-04-27 17:21:25 +05:45
sudipnext
46d2f02da4 feat: update presentation export version and enhance export functionality with cookie handling
Co-authored-by: Copilot <copilot@github.com>
2026-04-27 12:01:54 +05:45
Sudip Parajuli
4fd1a84f59
Merge pull request #542 from presenton/refactor/use-export-package
refactor/use export package
2026-04-27 10:49:19 +05:45
shiva raj badu
3b5f28f018
fix: Stream scrolling effect 2026-04-26 23:24:30 +05:45
Shiva Raj Badu
34bae816d6
Merge pull request #543 from presenton/feat/new_template
feat: New template pitch deck
2026-04-26 22:53:10 +05:45
shiva raj badu
57d1f9c30a
feat: New template pitch deck 2026-04-26 22:51:27 +05:45
sudipnext
d1aeff6f82 feat: Revise prompt and tool descriptions for clarity and accuracy
- Updated the system prompt to provide clearer guidance on the use of deck memory and tools, emphasizing the distinction between historical context and current slide data.
- Enhanced tool descriptions in the ChatTools class to clarify their intended use cases, focusing on live slide data and the importance of using tools for current content.
- Improved instructions on handling slide indices and the retrieval of slide information, ensuring users understand the differences between memory and live data.
2026-04-26 18:28:27 +05:45
sudipnext
35f784379b feat: Enhance LiteParse runner and document processing
- Updated the LiteParse runner to support two output formats: raw text and JSON, improving compatibility and flexibility.
- Introduced error handling for missing file arguments and file existence checks, enhancing robustness.
- Added functions to clean and extract text from LiteParse JSON outputs, handling malformed JSON gracefully.
- Updated the DocumentsLoader to utilize the new text cleaning functionality, ensuring cleaner document outputs.
- Implemented tests for the new text extraction and cleaning features, ensuring reliability and correctness.
2026-04-26 18:10:49 +05:45
sudipnext
4c271170b5 feat: Add chat history management and asset generation features
- Introduced a new `ChatHistoryMessageModel` to persist chat messages in the database.
- Implemented a migration script to create the `chat_history_messages` table.
- Enhanced chat services to support storing and retrieving chat history.
- Added functionality for generating multiple media assets in a single API call.
- Updated the chat UI to display assistant activities and tool usage more effectively.
- Refactored API calls to use absolute URLs for better reliability.
2026-04-26 13:12:50 +05:45
sudipnext
4e87dc8b70 refactor: Update database session management and enhance chat memory services
- Replaced `get_container_db_async_session` with `async_session_maker` for improved session handling in background tasks.
- Refactored chat memory services to utilize a shared `mem0` client for better memory management.
- Introduced new methods for retrieving and storing chat history, integrating with SQL and memory layers.
- Enhanced error handling and response management in chat-related services.
- Cleaned up unused code and improved overall structure for maintainability.
2026-04-25 19:10:39 +05:45
sudipnext
17ea7d9f95 feat: Implement streaming chat functionality in FastAPI and update UI
- Added a new endpoint for streaming chat messages in FastAPI, allowing real-time interaction.
- Enhanced the `PresentationChatService` to support streaming replies with event types for chunked responses, status updates, and tool tracing.
- Updated the chat UI to handle and display assistant activities, including loading states and tool usage.
- Introduced new models for SSE responses and integrated them into the chat service.
- Improved error handling and response management in the chat API.
2026-04-25 15:49:39 +05:45
sudipnext
ebf3f05d6e fix: Update llmai dependency version to 0.2.1 2026-04-25 14:21:09 +05:45
sudipnext
7084c5f962 fix: Update OpenAI API type to use completions for stability 2026-04-25 14:20:56 +05:45
shiva raj badu
77646d49b6
fix: Chat interface UI issues 2026-04-24 16:02:44 +05:45
shiva raj badu
5b35db4107
feat: API implement in chat interface 2026-04-24 16:00:24 +05:45
shiva raj badu
47e16cd786
Merge branch 'feat/chat_editing' into feat/presenton-chat 2026-04-24 13:22:38 +05:45
sudipnext
2e7e31db8c feat: implement PDF/PPTX export functionality with dedicated routes and components
- Added new middleware to handle session authentication for presentation retrieval.
- Introduced new layout and page components for PDF export, ensuring no loading state is shown during headless rendering.
- Enhanced ConfigurationInitializer to manage loading state based on route.
- Updated DashboardApi to include credentials in requests for presentation data.
- Refactored hasValidLLMConfig function for cleaner validation logic.
2026-04-24 10:30:51 +05:45
sauravniraula
11904c6cb0
refactor: cleans old unused export files from both docker and electron and uses package for export 2026-04-24 10:12:23 +05:45
sudipnext
7b1c3c6e70 Refactor chat memory layer and tools for improved slide handling
- Updated `RUNTIME_CONTENT_FIELDS` to retain only necessary fields during validation.
- Enhanced `PresentationChatMemoryLayer` to prioritize live slide data from the database.
- Modified `search` method to clarify that it retrieves snippets from SQL-backed slides.
- Updated `get_slide_at_index` to include an option for full content retrieval.
- Adjusted tool descriptions to emphasize compact outputs and proper index handling.
- Improved handling of slide indices to accommodate user-friendly 1-based references.
2026-04-24 09:51:21 +05:45
sudipnext
efd69cc134 Add chat functionality to FastAPI presentation service
- Introduced a new chat endpoint for handling user messages and generating responses.
- Added models for chat message requests and responses.
- Implemented a conversation store to manage chat history.
- Integrated memory layer for retrieving presentation context.
- Created tools for accessing presentation outlines and searching slides.
- Updated dependencies to include jsonschema for validation.
- Enhanced the API router to include the new chat functionality.
2026-04-24 09:34:56 +05:45
shiva raj badu
8af82252b8
feat: Chat interface 2026-04-23 22:02:46 +05:45
Sudip Parajuli
9272907a30
Update README.md 2026-04-23 17:46:19 +05:45
Sudip Parajuli
fe1e7480f6
Merge pull request #534 from presenton/auth-setup
Auth setup
2026-04-23 17:45:41 +05:45
sudipnext
398124b6a6 Update README.md to include HTTP Basic authentication details for API routes and provide example usage with curl. 2026-04-23 17:40:03 +05:45
Suraj Jha
89a9533710
Update contribution guidelines
Removed note about accepting Pull Requests only in the electron directory.
2026-04-23 17:05:32 +05:45
sudipnext
f8da1802fd Enhance authentication handling in FastAPI by adding basic authentication support and improving session token management. Introduced new utility functions for retrieving configured usernames and basic auth credentials, and updated middleware to utilize these enhancements for better session management. 2026-04-23 17:00:17 +05:45
Suraj Jha
7ba86a69dc
Update platform badge to include Docker 2026-04-23 16:59:39 +05:45
Suraj Jha
9d09859c98
Clean up README by removing HTML section
Removed unnecessary HTML and comment from README.
2026-04-23 16:58:27 +05:45
Suraj Jha
6c56ba185f
Add AI Presentation Generation API details
Updated README to reflect new API feature and template usage.
2026-04-23 16:09:01 +05:45
Suraj Jha
a6b95cc3c4
Enhance README with self-hosted usage instructions
Updated README to include links for Docker and Desktop app.
2026-04-23 16:06:37 +05:45
Saurav Niraula
6765897913
Merge pull request #532 from presenton/refactor/use-llmai
refactor: use llmai as llm client, removes old llm client and tool call handler
2026-04-23 13:46:11 +05:45
sauravniraula
1030f07ec7
chore: fixes chatgpt none content issue 2026-04-23 13:33:35 +05:45
sauravniraula
98d7405777
chore: version bump of llmai to 0.1.9 2026-04-23 13:20:18 +05:45
sauravniraula
f76d17314a
feat: integrates llmai instead of using old llm client and tool call handlers 2026-04-23 11:42:15 +05:45
sudipnext
ad3b31a359 Enhance Docker configuration by adding new environment variables for image generation and updating dependencies in Dockerfile and FastAPI. This includes support for image providers and quality settings, improving flexibility in deployment configurations. 2026-04-22 17:32:13 +05:45
Sudip Parajuli
4e96a652e9
Merge pull request #531 from presenton/fix/reduce-docker-image-size
Fix/reduce docker image size
2026-04-22 16:54:48 +05:45
sudipnext
fa6bf43114 chore: update Dockerfile to install sharp dependency and initialize npm in presentation-export directory 2026-04-22 16:28:57 +05:45
Sudip Parajuli
acfddad78e
Merge pull request #529 from presenton/feat/auth-setup
Feat/auth setup
2026-04-22 13:58:54 +05:45
sudipnext
7552be0bf2 fix: update authentication response handling in FastAPI and Next.js to reflect account setup status 2026-04-22 13:00:45 +05:45
sudipnext
d07f8f05f6 fix: update placeholder image paths to use a consistent placeholder.jpg across image generation service and tests 2026-04-22 12:50:21 +05:45
sudipnext
c6e7f6bb78 refactor: streamline authentication handling and remove deprecated components, enhancing session management in Next.js middleware 2026-04-22 12:43:17 +05:45
sauravniraula
501a155ad0
refactor: reduces images size to around 2.5gb 2026-04-21 17:43:07 +05:45