Commit graph

7623 commits

Author SHA1 Message Date
namanmathur372
d08cdebbfa
Add Model-Specific Size Validation and Update Size Parameter Placeholders for Image Generation (#10923)
* Update size parameter placeholder for image generation

Updated the placeholder for the size parameter in the operations.json file to specify valid options based on the selected model (DALL-E 2 or DALL-E 3).
- Added size options for DALL-E 2: 256x256, 512x512, 1024x1024 (default: 1024x1024)
- Added size options for DALL-E 3: 1024x1024, 1792x1024, 1024x1792 (default: 1024x1024)

* Implement model-specific size validation for image generation

Added logic to enforce model-specific size validation for DALL-E 2 and DALL-E 3 in the query_operations.ts file.
- DALL-E 3 accepts sizes: 1024x1024, 1792x1024, 1024x1792 (default: 1024x1024)
- DALL-E 2 accepts sizes: 256x256, 512x512, 1024x1024 (default: 1024x1024)
- Introduced a utility function to validate and apply the appropriate size based on the selected model.
2024-10-10 11:56:16 +05:30
Pratham Ranjan Singh
0fa84e3fdc
Fix: #10870 (#10889)
* Fix: #10870

* Update README.md

* changed _ to *

* solved

* reverted the change

---------

Co-authored-by: Pratik Agrawal <agrawalpa_4@rknec.edu>
2024-10-10 10:07:06 +05:30
parv nema
bee6e0b205
updated the documentation for the vertical divider component (#10862)
* updated the documentation for the vertical divider component

* made two closing bracket on line number 17

* added 2nd bracket in another verison also

* added the changes in vertical divider

* fix fx in next version

* fix fx in versioned docs

* changes in next version

* changes in versioned docs

* fix fx

* add a minor grammar fix

* add minor grammar fix

---------

Co-authored-by: Pratik Agrawal <agrawalpa_4@rknec.edu>
Co-authored-by: Karan Rathod <karan.altcampus@gmail.com>
2024-10-10 10:06:38 +05:30
namanJ
bf457c122e
Updated documentation for Toggle Switch Component (#10886)
* remove bottomPadding of h2 and change Devices content to table

* remove bottomPadding of h2 and change Devices content to table in versioned-docs

* changed fx enclosed within back-ticks to bold

* changed fx enclosed within back-ticks to bold in versioned-docs

* changed fx enclosed within back-ticks to bold

* changed fx enclosed within back-ticks to bold in versioned-docs

* add minor formatting update

* add minor formatting update

---------

Co-authored-by: Karan Rathod <karan.altcampus@gmail.com>
2024-10-10 10:06:16 +05:30
Krishnadev
862f35afc5
[docs]: Updated the documentation for the Timer Component #10846 (#10881)
* updated review changes

* Fx changed to fx

* Add missing full stop.

* Add missing full stop.

* Fix capitalization.

* Fix capitalization.

---------

Co-authored-by: Karan Rathod <karan.altcampus@gmail.com>
2024-10-10 10:06:02 +05:30
namanmathur372
83de623440
Enhance OpenAI Datasource Schema with Image Generation and Model Selection Support (#10669)
* Add model selection and update schema for OpenAI API operations

This commit will add optional model selection to both completion and chat operations, update the QueryOptions type to include the model field, and modify the operations.json schema to support model selection in the UI for various OpenAI models, including GPT-4 Turbo and GPT-3.5 Turbo. The commit also adjusts the code structure to handle these changes effectively.

* Refactor OpenAI SDK integration and add image generation operation

Refactored OpenAI SDK integration to use correct imports for SDK version 4.56.0.
Replaced deprecated method listModels() with models.list() to retrieve model information.
Fixed redundant apiKey initialization in getConnection method.
Added support for the ImageGeneration operation in the run method to handle image generation using OpenAI's DALL-E.
Improved connection test logic to check for model availability instead of relying on the response status.

* Refactor image generation logic with improved error handling and response format

Updated the image generation logic to include a proper status, message, and description in the response format.
Added validation for the number of images and size using utility functions getNumberOfImages and getSizeEnum.
Commented out getNumberOfImages and num_images parameter in the image generation function as they are not currently in use but reserved for future implementation.
Removed redundant commented code for better readability and maintainability.
Ensured image URL is returned as part of the structured JSON response with a "success" or "failed" status.
Improved error handling by providing detailed error messages and descriptions when the query fails.

* Add UI components for model selection and image generation options

Added dropdown UI component for selecting OpenAI models, including DALL-E 3 and DALL-E 2 options.
Included a component for setting the image size (size) during image generation.
Provided descriptions and placeholders for the size input, with default values for image generation parameters.
Disabled model selection by default with dall-e-3 pre-selected for initial use.
A component for num_images can be set up if required, and the field will be added in future updates.

* Update QueryOptions type to include optional image generation parameters

Added optional num_images parameter to QueryOptions for specifying the number of images to be generated, although currently commented out for future use.
Included size parameter to QueryOptions to define the size of the generated image.
Ensured backward compatibility by making these parameters optional in the QueryOptions interface.

* Update OpenAI SDK and clean up dependencies

Updated the OpenAI SDK version from ^3.2.1 to ^4.56.0 in dependencies.
Fixed duplicate entries and cleaned up redundant dependency declarations.
Ensured consistency in devDependencies by removing duplicate typescript and @vercel/ncc entries.
2024-10-09 15:16:27 +05:30
Aman Regu
5c5e32647e
[docs]: platform v3 (#10721)
* [docs]: user group revamp

* update manage user groups docs

* docs: add user metadata

* remove property from incorrect version

* docs: add metadata to currentUser property

* docs: update workspace constants documentation with information on secrets and usage

* docs: update media, metadata

* docs: add media for workspace constants and secrets

* docs: add auto sso

* remove tabs import

* docs: auto sso var LTS

* docs: OIDC group sync

* docs: use next for beta

* docs: add paid tag

* docs: update OIDC
2024-10-08 13:17:02 +05:30
Harshit Vashisht
5fc77a7ac5
#fixes Update the documentation for the Text Editor Component (#10861)
* #fixes updated rich-text-editor.md

* udated rich-text-editor.md
2024-10-04 18:46:44 +05:30
Siddheya Kulkarni
029cf0454d
Updated the documentation for the Timeline Component (#10860)
* ToolJet#10847 #fixes - Update timeline.md

* fixes

* Update timeline.md

* fixes

* Update a capitalization

* Fix capitalization

---------

Co-authored-by: Karan Rathod <karan.altcampus@gmail.com>
2024-10-04 18:46:27 +05:30
Johnson Cherian
36f450f4e6
Merge pull request #10882 from ToolJet/docs/variables-in-rest-api
[docs]: Add a guide on ways to pass values in REST API queries
2024-10-04 16:58:15 +05:30
Karan Rathod
f8d8401c53 add guide on ways to pass values in REST API query 2024-10-04 16:50:08 +05:30
Johnson Cherian
14c0536307
Merge pull request #10716 from asdotdev/bug/10641-password-validation-message-hidden
fix password validation message hiding under box shadow
2024-10-04 09:56:31 +05:30
Johnson Cherian
d5bd75555a
Merge pull request #10356 from Apetun/fix-setTab
Update Tabs.jsx to Fix setTab bug
2024-10-04 09:56:10 +05:30
Johnson Cherian
e5d5b19055
Merge pull request #10805 from ToolJet/docs/update-smtp-snowflake-stripe
[docs]: Update data-sources guides - SMTP, Snowflake, Stripe
2024-10-01 17:20:27 +05:30
Johnson Cherian
2463a139b4
Merge pull request #10768 from ToolJet/docs/update-AmazonSES-BaseRow
[docs]: Update data-sources guides - amazonses, baserow
2024-10-01 17:20:13 +05:30
Johnson Cherian
90d88958f5
Merge pull request #10770 from ToolJet/docs/update-bigquery-firestore
[docs]: Update data-sources guides - BigQuery, Firestore
2024-10-01 17:19:58 +05:30
Pratik Agrawal
83eb83a873 BigQuery - Added padding in b/w images and heading 2024-10-01 16:51:19 +05:30
Pratik Agrawal
e5e7ed5c68
Fix typo in pwd input (#10851) 2024-10-01 11:49:49 +05:30
Pratik Agrawal
52af702c01
Updated the number input doc according to the ToolJet Style Guide (#10842) 2024-09-30 19:04:14 +05:30
Pratik Agrawal
758248e7f3
[docs]: Update Password and Text Input Doc According to the Style Guide (#10843)
* Update Password Input Doc According to the Style Guide

* Update Password Input Doc According to the Style Guide
2024-09-30 19:03:43 +05:30
Johnson Cherian
e60593deae
Merge pull request #10799 from JorgeSanchez-Encora/refactor/911-spanish
Added some more translations for spanish
2024-09-30 15:33:20 +05:30
Johnson Cherian
2cbaaa8704
Merge pull request #10398 from GivenBY/fix/calendar-dark-dropdown
[dark mode]: fix color of time selection box in datepicker
2024-09-30 15:12:39 +05:30
Johnson Cherian
6a96d88917
Merge pull request #10724 from fkk989/fix/#10718-walkthrough-text
fixed walkthrough text visiblity (#10718)
2024-09-30 15:11:27 +05:30
Souvik
69174804c1
[docs]: Update Ubuntu setup guide for 2.50.0-LTS (#10835)
* updated the ubuntu docs

* updated commands for ubuntu.md

* updated version-2.50.0-LTS ubuntu.md
2024-09-30 14:22:28 +05:30
Souvik
8c49248079
[docs]: Update Ubuntu guide (#10831)
* updated the ubuntu docs

* updated commands for ubuntu.md
2024-09-30 13:44:20 +05:30
Pratik Agrawal
5334c26106 Edited Stripe Table 2024-09-27 12:36:45 +05:30
Pratik Agrawal
db5899eba8 Updated tip in the snowflake doc 2024-09-27 11:37:14 +05:30
Pratik Agrawal
778ac22c19 Merge branch 'develop' into docs/update-smtp-snowflake-stripe 2024-09-27 11:31:25 +05:30
Anas Khafaga
7822441816
feat(Docker): Enable debugging in docker containers (#10812) 2024-09-27 09:32:05 +05:30
Souvik
abc0ab9a3d
[docs]: Update docker guide to include debugging configuration (#10826)
* Update docker.md to include debugging configuration

* updated docs/docs/contributing-guide/setup/docker.mdd & ocs/versioned_docs/version-2.68.0/setup/docker.md
2024-09-27 09:31:36 +05:30
Pratik Agrawal
23a2b417a6
Updated airtable and s3 v2 (#10767) 2024-09-26 18:34:35 +05:30
Pratik Agrawal
6fa3c1fc27
[docs]: Update data-sources guides - twilio, typesense, woocommerce, zendesk (#10808)
* Twilio

* Typesense

* woocommerce

* Zendesk

* Zendesk v2
2024-09-26 18:34:08 +05:30
Pratik Agrawal
d4b28a79e0
Fix typo in azure blob (#10802) 2024-09-26 18:33:49 +05:30
Aman Regu
3149ea558e
docs: fix release date for .41 LTS (#10820) 2024-09-24 16:14:03 +05:30
Aman Regu
e5dedc7fe2
[docs]: Add new LTS tag (#10778)
* docs: add new LTS tag

* docs: add new LTS patch
2024-09-24 15:29:36 +05:30
Aman Regu
2b55ac3907
[docs]: Add portkey docs (#10593)
* add portkey docs

* update images, text

* adds chat example, remove default

* add completion example

* add media

* add example for prompt completion

* exclude current version

* docs: add portkey to 2.50.0-LTS & 2.68.0-Beta
2024-09-24 15:25:59 +05:30
Pratik Agrawal
6a2abc9edb SMTP v2 2024-09-23 12:12:43 +05:30
Pratik Agrawal
731ee7e0cc Stripe 2024-09-23 12:11:27 +05:30
Pratik Agrawal
8433c14cae Snowflake 2024-09-23 11:36:01 +05:30
Pratik Agrawal
4d60381e5d SMTP 2024-09-23 11:20:01 +05:30
JorgeSanchez-ENC
4ad3e992e1
Added some more translations for spanish 2024-09-20 12:48:17 -06:00
Aman Regu
91be182446
Revert "[docs]: Add Home Page - DO NOT MERGE (#10789)" (#10792)
This reverts commit 30ff55cbc5.
2024-09-20 13:47:42 +05:30
Aman Regu
30ff55cbc5
[docs]: Add Home Page - DO NOT MERGE (#10789)
* test changes

* add changes

* fix

* add sidebar/styles

* fix padding

* fix style

* fix bg

* fix tooljet documentation section

* fix indent

* add back image

* fix image

* fix Setup ToolJet Section

* fix cards

* update manage org

* deploy card

* update markdown

* fix style

* fix id

* fix style

* move to correct tab

* contain styles

* fix styles

* fix padding

* refactor code

* revert/remove changes

* update slug
2024-09-20 13:45:56 +05:30
Karan Rathod
10eb1b4b16
update tooljet concepts (#10790) 2024-09-20 12:02:30 +05:30
Johnson Cherian
011ad04fca
Merge pull request #10769 from ToolJet/docs/update-quickstart-guide-v3
[docs:] Update quickstart guide
2024-09-20 11:26:50 +05:30
Pratik Agrawal
aa15172299
Deleted unwanted zone identifier file (#10774) 2024-09-19 11:27:18 +05:30
Pratik Agrawal
44a3ccbbc4 Updated firestore v2 2024-09-18 16:09:03 +05:30
Pratik Agrawal
88fe46c845 Updated bigquery v2 2024-09-18 15:36:16 +05:30
Karan Rathod
26557c3d44 update quickstart guide 2024-09-18 15:32:52 +05:30
Pratik Agrawal
4d808eece4 Updated Baserow v2 2024-09-18 14:38:29 +05:30