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

feat: add email authentication in help menu and added LLM APIs #588

Merged
merged 5 commits into from
Nov 19, 2024

Conversation

dakshpokar
Copy link
Collaborator

@dakshpokar dakshpokar commented Nov 5, 2024

Pull Request

Description

This PR introduces the integration of OpenAI, Gemini, and Claude as an LLM model option in the project. It updates various parts of the code to include Claude in the LLM model selection, allowing users to choose and configure models. The changes include UI updates for model selection, event handling for checkbox changes, and conditional visibility of input fields based on the selected models.

Related Issues

Changes Made

  1. Enhancements to LLM Settings:
    Added support for additional LLM models (claude) alongside existing models (openai, gemini).
    Introduced LLMModels object to handle multiple LLMs with a default setting of { openai: true }.

  2. Menu and UI Adjustments:
    Updated the menu to include checkboxes for selecting multiple LLM models, with a limit of two models.
    Modified various UI elements to handle new authentication keys for claude and email.

  3. Event Handlers and Validation:
    Added event handlers for new checkboxes to show/hide corresponding authentication key inputs.
    Implemented a verification system for email authentication.

  4. Initialization and State Management:
    Updated initialization logic to account for multiple selected LLM models.
    Adjusted state management to store authentication keys and preferences for the new LLM models.

  5. API Integration:
    Integrated an email verification API call within the VerifyEmail function.

Screenshots (if applicable)

Checklist

  • I have read the Contributor Guidelines.
  • I have performed a self-review of my own code and ensured it follows the project's coding standards.
  • I have tested the changes locally following ManualTestingProcess.md, and all tests related to this pull request pass.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have updated the documentation, if applicable.
  • I have added appropriate unit tests, if applicable.

Additional Notes

@dakshpokar dakshpokar changed the title feat: added a email authentication button feat: added a email authentication in help menu and added LLM APIs Nov 5, 2024
@jooyoungseo jooyoungseo changed the title feat: added a email authentication in help menu and added LLM APIs feat: add email authentication in help menu and added LLM APIs Nov 18, 2024
@xabilitylab xabilitylab requested a review from Copilot November 18, 2024 17:51

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no suggestions.

@ellvix ellvix changed the base branch from main to dev November 19, 2024 01:36
@ellvix ellvix merged commit 8950c5e into xability:dev Nov 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants