An integration package connecting Snowflake and LangChain
Project description
LangChain Snowflake
LangChain integration for Snowflake Cortex AI. Native support for chat models, tools, and retrieval with production-ready authentication.
Production Ready
- 50+ comprehensive tests covering core functionality
- Native tool calling with Cortex Complete
- Structured output support (Pydantic, TypedDict, JSON)
- Complete async/await implementation
- All authentication methods supported
Features
- Chat models with tool calling support
- Cortex Search retrieval with relevance assessment
- Complete toolkit for 6 Cortex AI functions
- Async support for high-performance applications
- Agent patterns following LangChain standards
- Multiple authentication methods
- LangSmith tracing integration
Installation
pip install langchain-snowflake
LangSmith Tracing
export LANGCHAIN_TRACING_V2=true
export LANGCHAIN_API_KEY=your-langsmith-api-key
export LANGCHAIN_PROJECT=snowflake-cortex
Documentation
Contributing
See Development.md for setup and guidelines.
License
MIT License
Support
- Check documentation notebooks in
docs/ - Report issues on GitHub
- Join community discussions
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
langchain_snowflake-0.2.1.tar.gz
(43.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file langchain_snowflake-0.2.1.tar.gz.
File metadata
- Download URL: langchain_snowflake-0.2.1.tar.gz
- Upload date:
- Size: 43.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51cc74e219a3fd2e83dea06917a4824d077531ca200d1c61e548740c4591fbc6
|
|
| MD5 |
755f253b1626e8ffc6204791d3a8834d
|
|
| BLAKE2b-256 |
8b159b4550787c93ba76a576ec2c9781a6f59f2e5497b013f472b9239dd56dfe
|
File details
Details for the file langchain_snowflake-0.2.1-py3-none-any.whl.
File metadata
- Download URL: langchain_snowflake-0.2.1-py3-none-any.whl
- Upload date:
- Size: 55.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5531fdf2af192f376bb945d95786c708fb6cd6f5f74dbda5d6ed45a13c93fce7
|
|
| MD5 |
0a78013c8915ab6caf890ebdad85a892
|
|
| BLAKE2b-256 |
e1cd685e44d872f1fee8f0dc76f914b74d4155d6d2a763af43c5b67b43abbe8b
|