* docs:Updated documentation for range slider
* Update fx in next version.
* Update fx in LTS version.
* Update range-slider.md next version
* Update range-slider.md
* Update range-slider.md versioned docs
---------
Co-authored-by: Pratik Agrawal <pratik@tooljet.com>
* 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.
* 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>
* 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>
* 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.
* [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