Q Remix Documentation
  • INTRODUCTION
    • Welcome to Q-Remix IDE's documentation
    • Navigating Q-Remix
    • Using Q-Remix Safely
    • Q-Remix Links
    • FAQ
  • CORE MODULES
    • File Explorer
    • Search in Files
    • Settings
    • Editor
    • Autocompletion & Suggestions in Editor
    • Contract Creation & Compiling
    • Deploy & Run
    • Accessing and Interacting with the Deployed Contracts
    • Terminal
  • Solidity modules
    • Solidity Compiler
    • AI Assistant
    • Q-Remix Chatbot
    • AI Code Generation
    • Multi AI Models switch
    • AI Project Generation
    • Debugger
  • Guide
    • Creating and Deploying a Contract
    • Importing and Loading Source Files in Solidity
  • Unit Testing
    • Testing by Example
  • MISCELLANEOUS
    • Q-Remix as Code Viewer
    • Code Contribution Guide
Powered by GitBook
On this page
  • Supported AI Models
  • How to Use the AI Model Dropdown
  • How It Works
  • Component Design for Multi-AI Models
  • Key Benefits
  1. Solidity modules

Multi AI Models switch

PreviousAI Code GenerationNextAI Project Generation

Last updated 6 days ago

Q-Remix now features the ability to switch between multiple AI models for enhanced flexibility and control over your smart contract development. This feature allows you to choose from various powerful AI models, each offering different strengths, to tailor your code generation experience.

Supported AI Models

Currently, the following AI models are supported for switching:

  • LLaMA 3 - 8B

  • LLaMA 3 - 70B

  • Mistral 8x7B

  • Gemma 7B

Each model varies in terms of speed, quality, and computational requirements. Select the one that best fits your needs for generating code, depending on the complexity and size of your prompt.

How to Use the AI Model Dropdown

1. Access the AI Model Dropdown

The AI model dropdown menu is located above the code editor interface, allowing you to easily select from the available AI models.

2. Switch Between Models

Click on the dropdown menu and choose the model you’d like to use for code generation. Each model is designed to handle different code complexity levels and use cases, ensuring the most accurate and efficient code output based on your needs.

How It Works

Once you select the desired AI model from the dropdown, it will remain active for subsequent code generation prompts. The AI will use this model to interpret and generate code based on your request.

Component Design for Multi-AI Models

This feature has been implemented as a separate component that exclusively handles the switching of multiple AI models. This ensures a modular approach where:

  • The user can easily select and switch between AI models for each code generation session.

  • The component is designed to provide an intuitive user experience with a simple, accessible dropdown menu for seamless integration into the Q-Remix interface.

Key Benefits

  • Flexibility: Choose from a variety of AI models, each optimized for different types of code generation.

  • Control: Select the AI model best suited for the complexity and style of your smart contract code generation.

  • Seamless Integration: The AI model switching is integrated directly into the code editor interface, allowing for quick changes without disrupting your workflow.

This multiple AI model switching feature allows you to get the best results for your code generation needs by tailoring the AI's behavior to your specific requirements.