Skip to main content

rag-template-1

Installation

Install the LangChain CLI if you haven't yet

pip install -U "langchain-cli[serve]"

Adding packages

# adding packages from 
# https://github.com/langchain-ai/langchain/tree/master/templates
langchain app add $PROJECT_NAME

# adding custom GitHub repo packages
langchain app add --repo $OWNER/$REPO
# or with whole git string (supports other git providers):
# langchain app add git+https://github.com/hwchase17/chain-of-verification

# with a custom api mount point (defaults to `/{package_name}`)
langchain app add $PROJECT_NAME --api_path=/my/custom/path/rag

Note: you remove packages by their api path

langchain app remove my/custom/path/rag

Setup LangSmith (Optional)

LangSmith will help us trace, monitor and debug LangChain applications. LangSmith is currently in private beta, you can sign up here. If you don't have access, you can skip this section

export LANGCHAIN_TRACING_V2=true
export LANGCHAIN_API_KEY=<your-api-key>
export LANGCHAIN_PROJECT=<your-project>  # if not specified, defaults to "default"

Launch LangServe

langchain serve

Metadata

Release files for local-code-qa 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for local-code-qa 0.0.1
File Size Uploaded
local_code_qa-0.0.1.tar.gz 4.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for local-code-qa 0.0.1
File Interpreter ABI Platform
local_code_qa-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.2 MB

Release files / local_code_qa-0.0.1.tar.gz

Download URL local_code_qa-0.0.1.tar.gz
Size 4.6 MB
Tags Source
SHA-256 checksum
How to use checksums
c872384a6536f74e789c96167925e7750c2030c63f6016841ed8ad98b27670f4
BLAKE2b-256 checksum
How to use checksums
46ecc3f6430b52f4e09c04d680daa54c11b9f7b23e7f0cf77b102d3b4cb3dbb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.10.13 Darwin/23.1.0

Release files / local_code_qa-0.0.1-py3-none-any.whl

Download URL local_code_qa-0.0.1-py3-none-any.whl
Size 4.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
ad824eb206033764815f12ef071eb7ac8381d4a6226bc185642f4726a9824bfc
BLAKE2b-256 checksum
How to use checksums
ae59743c3325ad77b9cfa46e87c31a00dd5e506c1715fc55b2ff19efff6a5dcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.10.13 Darwin/23.1.0

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page