https://github.com/spyder-ide/langchain-provider
Completion provider using Langchain and OpenAI for Spyder 6+
https://github.com/spyder-ide/langchain-provider
completions langchain openai spyder
Last synced: 6 months ago
JSON representation
Completion provider using Langchain and OpenAI for Spyder 6+
- Host: GitHub
- URL: https://github.com/spyder-ide/langchain-provider
- Owner: spyder-ide
- License: mit
- Created: 2023-12-18T17:06:44.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-04-07T20:58:35.000Z (6 months ago)
- Last Synced: 2025-04-07T21:42:47.948Z (6 months ago)
- Topics: completions, langchain, openai, spyder
- Language: Python
- Homepage:
- Size: 521 KB
- Stars: 10
- Watchers: 4
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/funding.yml
- License: LICENSE
Awesome Lists containing this project
README
# Langchain-provider
## Project Info
[](./LICENSE)
[](https://gitter.im/spyder-ide/public)
[](#backers)
[](#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](https://platform.openai.com/signup) and then set it as a environment variable (`OPENAI_API_KEY`).
## Preview

## 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:

## Dependencies
This project depends on [Spyder](https://github.com/spyder-ide/spyder).
## Changelog
Visit our [CHANGELOG](CHANGELOG.md) file to know more about our new features and improvements.
## Development and contribution
Everyone is welcome to contribute! See our [Contributing guide](CONTRIBUTING.md) for more details.
## Sponsors
Spyder is funded thanks to the generous support of
[](https://www.quansight.com/)[](https://numfocus.org/)
and the donations we have received from our users around the world through [Open Collective](https://opencollective.com/spyder/):
[](https://opencollective.com/spyder#support)
## More information
[Main Website](https://www.spyder-ide.org/)
[Download Spyder (with Anaconda)](https://www.anaconda.com/download/)
[Online Documentation](https://docs.spyder-ide.org/)
[Spyder Github](https://github.com/spyder-ide/spyder)
[Troubleshooting Guide and FAQ](
https://github.com/spyder-ide/spyder/wiki/Troubleshooting-Guide-and-FAQ)[Development Wiki](https://github.com/spyder-ide/spyder/wiki/Dev:-Index)
[Gitter Chatroom](https://gitter.im/spyder-ide/public)
[Google Group](https://groups.google.com/group/spyderlib)
[@Spyder_IDE on Twitter](https://twitter.com/spyder_ide)
[@SpyderIDE on Facebook](https://www.facebook.com/SpyderIDE/)
[Support Spyder on OpenCollective](https://opencollective.com/spyder/)