|
|
# First: The extension for use AI in VSCODE
|
|
|
|
|
|
## Bito AI User Guide for Visual Studio Code
|
|
|
|
|
|
### Installation
|
|
|
|
|
|
1. Open Visual Studio Code (VSCode) on your computer.
|
|
|
2. Go to the Extensions view by clicking on the square icon on the left sidebar or by pressing Ctrl+Shift+X ( Cmd+Shift+X on macOS).
|
|
|
3. In the search bar, type "Bito AI" and press Enter.
|
|
|
4. Click on the "Bito AI" extension from the search results.
|
|
|
5. Click the "Install" button to install the Bito AI extension.
|
|
|
6. Wait for the installation to complete.
|
|
|
|
|
|
### Configuration
|
|
|
|
|
|
1. After installing the Bito AI extension, go to the VSCode settings by clicking on the gear icon on the left sidebar or by pressing Ctrl+, ( Cmd+, on macOS).
|
|
|
2. In the settings, search for "Bito AI".
|
|
|
3. Configure the following settings according to your preferences:
|
|
|
- bito-ai.apiKey : Enter your Bito AI API key.
|
|
|
- bito-ai.defaultLanguage : Set the default language for Bito AI.
|
|
|
- bito-ai.maxTokens : Set the maximum number of tokens to generate per request.
|
|
|
- bito-ai.temperature : Set the temperature for text generation (higher values for more randomness).
|
|
|
- bito-ai.topP : Set the top-p value for text generation (higher values for more diversity).
|
|
|
4. Save the settings.
|
|
|
|
|
|
### Using Bito AI
|
|
|
|
|
|
1. Open a new or existing file in VSCode.
|
|
|
2. To generate text using Bito AI, use the following steps:
|
|
|
- Select the text or position the cursor where you want to generate text.
|
|
|
- Open the command palette by pressing Ctrl+Shift+P ( Cmd+Shift+P on macOS).
|
|
|
- Type "Bito AI" in the command palette and select the "Bito AI: Generate Text" command.
|
|
|
- Bito AI will generate text based on the selected context and display it in the editor.
|
|
|
3. To customize the generated text, you can modify the Bito AI settings or adjust the selected context.
|
|
|
|
|
|
### Troubleshooting
|
|
|
|
|
|
If you encounter any issues while installing or using Bito AI, here are some troubleshooting steps you can try:
|
|
|
|
|
|
- Ensure that you have a stable internet connection.
|
|
|
- Double-check your Bito AI API key and make sure it is correctly entered in the VSCode settings.
|
|
|
- If the generated text is not as expected, you can adjust the Bito AI settings like temperature or top-p to fine-tune the output.
|
|
|
- If the extension is not working properly, try disabling and re-enabling it or restarting VSCode.
|
|
|
- If the issue persists, you can visit the Bito AI documentation or contact their support for further assistance.
|
|
|
|
|
|
That's it! You have now installed and can use Bito AI in Visual Studio Code. Enjoy generating text with the power of AI!
|
|
|
|
|
|
# Note: Make sure to refer to the official Bito AI documentation for any specific instructions or updates related to the extension.\
|
|
|
\
|
|
|
Second: Prompt Templates examples |
|
|
\ No newline at end of file |