GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - urbs-dev/codestral: An R package to use the Mistral AI API in Rstudio thanks to an addin for chat and Fill-in-the-Middle (FIM).

BranchesTags
Open more actions menu

Latest commit

 

History

79 Commits
79 Commits

Folders and files

NameName
Last commit message
Last commit date
R
R
 
 
data-raw
data-raw
 
 
data
data
 
 
docs
docs
 
 
inst/rstudio
inst/rstudio
 
 
man
man
 
 
tests
tests
 
 
vignettes
vignettes
 
 
.Rbuildignore
.Rbuildignore
 
 
.gitignore
.gitignore
 
 
CRAN-SUBMISSION
CRAN-SUBMISSION
 
 
DESCRIPTION
DESCRIPTION
 
 
LICENSE
LICENSE
 
 
LICENSE.md
LICENSE.md
 
 
NAMESPACE
NAMESPACE
 
 
README.md
README.md
 
 
_pkgdown.yml
_pkgdown.yml
 
 
codestral.Rproj
codestral.Rproj
 
 
cran-comments.md
cran-comments.md
 
 

Repository files navigation

codestral

Lifecycle: stable

codestral is an R package that provides an RStudio addin for interacting with Mistral AI models using their API. It supports both Fill-in-the-Middle (FIM) code completion and chat functionality.

Features

  • Fill-in-the-Middle (FIM): Get code completion suggestions based on context
  • Chat functionality: Interact with Codestral and Codestral Mamba models
  • File inclusion: Easily include file contents in your prompts
  • Package-aware: Automatically detects R package environments

Installation

You can install the development version from GitHub:

# install.packages("pak")
pak::pak("urbs-dev/codestral")

Getting Started

For detailed usage instructions and examples, please refer to the codestral-introduction vignette.

Quick Setup

  1. Get your API keys from Mistral AI Platform
  2. Initialize the package:
library(codestral)
codestral_init(mistral_apikey = "your-api-key-here", codestral_apikey = "your_codestral-api-key-here")
  1. Use the RStudio addin "Codestral code completion" to interact with the models

Documentation

library(codestral)
vignette("codestral-introduction")

License

This package is licensed under the MIT License. See LICENSE for details.

About

An R package to use the Mistral AI API in Rstudio thanks to an addin for chat and Fill-in-the-Middle (FIM).

Topics

api-clientcodestralmistral-aimistral-apirrstudio-addin

Resources

Readme
Activity
Custom properties

Stars

3 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.