Skip to content

Completion provider using Langchain and OpenAI for Spyder 6+

License

Notifications You must be signed in to change notification settings

spyder-ide/langchain-provider

Repository files navigation

Langchain-provider

Project Info

Project License Join the chat at https://gitter.im/spyder-ide/public OpenCollective Backers OpenCollective Sponsors


Overview

Installation

To use this completions provider you will need to install Spyder 6 (at least 6.0.0a3)

To install the provider package from source, you can use pip with something like:

pip install git+https://github.com/spyder-ide/langchain-provider.git

Or from PyPI something like:

pip install langchain-provider

Also, you need to have a OpenAI API key, which you can get from here and then set it as a environment variable (OPENAI_API_KEY).

Preview

langchain provider demo

Configuration

To configure the provider number of suggestions (1 - 10) or the model to use (gpt-3.5-turbo, or gpt4) you can click on the Langchain status bar and click the Change provider parameters menu entry:

langchain provider config

Dependencies

This project depends on Spyder.

Changelog

Visit our CHANGELOG file to know more about our new features and improvements.

Development and contribution

Everyone is welcome to contribute! See our Contributing guide for more details.

Sponsors

Spyder is funded thanks to the generous support of

QuansightNumfocus

and the donations we have received from our users around the world through Open Collective:

Sponsors

More information

Main Website

Download Spyder (with Anaconda)

Online Documentation

Spyder Github

Troubleshooting Guide and FAQ

Development Wiki

Gitter Chatroom

Google Group

@Spyder_IDE on Twitter

@SpyderIDE on Facebook

Support Spyder on OpenCollective

About

Completion provider using Langchain and OpenAI for Spyder 6+

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages