Giter Site home page Giter Site logo

mistral-vscode's Introduction

mistral-vscode

Allows you to chat using the Mistral AI API directly within VS Code.

Features

  • A nice-looking (debatable) chat view
  • Select the Mistral model to use on-the-fly, even mid-convo
  • Mistral platform responses are streamed to the chat window
  • Code blocks highlighting in responses
  • Chat history, with the ability to reload a previous chat and resume the conversation
  • 2 adaptive color schemes (ugly light/terrible dark)

Mistral Chat

Requirements

You'll need a Mistral API key and to set it up in the extension settings.

Extension Settings

This extension contributes the following settings:

  • mistral-vscode.apiKey: Your Mistral API key (not synced)
  • mistral-vscode.defaultModel: The default Mistral model to use : mistral-tiny, mistral-small or mistral-medium as of February 2024 (default: mistral-tiny)
  • mistral-vscode.mustSaveChats: Should VSCode save chat history (default: false)
  • mistral-vscode.saveChatsLocation: If chat history is enabled, the folder in which chats are saved (default: ~/.mistral-vscode/chats/)
  • mistral-vscode.getChatsTitlesByMistral: If chat history is enabled, should the extension ask mistral-tiny to name chat files with an explicit description (default: false). Enabling this will cause additional Mistral API requests and thus increase billing (though not by much)

Known Issues

Formatting issues when lots of backticks are found in the Mistral responses (think: asking questions about regex including backticks).

Then again, even ChatGPT struggles with these cases.

Release Notes

v0.0.2

  • Better formatting of code terms (not code blocks) during response streaming
  • Added Start new chat item in context menu
  • Tweaked system prompt for getting chat titles from Mistral

v0.0.1

  • Initial release

mistral-vscode's People

Contributors

maxymoos avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.