Skip to content

Instantly share code, notes, and snippets.

@abulte
Created January 21, 2024 09:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abulte/5a9989b0ce7132650241beef174a1a84 to your computer and use it in GitHub Desktop.
Save abulte/5a9989b0ce7132650241beef174a1a84 to your computer and use it in GitHub Desktop.
pandas-ai with mistral llms

Testing pandas-ai with mistral hosted LLMs

# patched pandas-ai working with llm module
pip install -e . ../Developer/pandas-ai
# patched llm-mistral that supports `.key` to pass creds
pip install git+https://github.com/abulte/llm-mistral.git@patch-1
echo "export MISTRAL_API_KEY=xxx" > .envrc
direnv allow
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment