Commit Graph

219 Commits (5da9dd1195d2e2bb0ec7424cd7d3137b14314275)

Author SHA1 Message Date
apeng-singlestore 5c0e9ac578
Add template for rag-singlestoredb (#12805)
This change adds a new template for simple RAG using the SingleStoreDB
vectorstore.

Twitter: @alexjpeng

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
10 months ago
ba230t 9214d8e6ed
Fixed a typo in templates/docs/CONTRIBUTING.md (delimeters =>delimiters) (#12774)
- **Description:** Just fixed a minor typo in
templates/docs/CONTRIBUTING.md.
  - **Issue:** No linked issues.

Very small contribution!
10 months ago
Tomaz Bratanic 2a9f40ed28
Add input types to cypher templates (#12800) 10 months ago
Matvey Arye 9369d6aca0
Fixes to the docs for timescale vector template (#12756) 10 months ago
Erick Friis 4421ba46d7
Demo Server, Fix Timescale (#12746)
- improve demo server
- missing deps
10 months ago
Erick Friis ab5309f6f2
template updates (#12736)
- langchain license
- add timescale vector dep to that template
10 months ago
Lance Martin 6406c53089
Update template index w/ Timescale (#12729) 10 months ago
Sayandip 8dbbcf0b6c
Adding a template for Solo Performance Prompting Agent (#12627)
**Description:** This template creates an agent that transforms a single
LLM into a cognitive synergist by engaging in multi-turn
self-collaboration with multiple personas.
**Tag maintainer:** @hwchase17

---------

Co-authored-by: Sayandip Sarkar <sayandip.sarkar@skypointcloud.com>
Co-authored-by: Erick Friis <erick@langchain.dev>
10 months ago
Erick Friis b825dddf95
fix elastic rag template in playground (#12682)
- a few instructions in the readme (load_documents -> ingest.py)
- added docker run command for local elastic
- adds input type definition to render playground properly
10 months ago
Lance Martin f0eba1ac63
Add RAG input types (#12684)
Co-authored-by: Erick Friis <erick@langchain.dev>
10 months ago
Predrag Gruevski 09711ad5a1
Both lint and format `templates` with ruff v0.1.3. (#12676)
- Both lint and format code in `templates`.
- Upgrade to ruff v0.1.3.
10 months ago
Predrag Gruevski f7f35a9102
Use black to lint notebooks and docs for now. (#12679)
Due to #12677 having lots of errors for the time being.
10 months ago
Lance Martin 9e17d1a225
Update Vertex template (#12644)
Co-authored-by: Erick Friis <erick@langchain.dev>
10 months ago
Harrison Chase 9a10b2b047
fix plate chain (#12673) 10 months ago
Erika Cardenas d26ac5f999
Update README for Hybrid Search Weaviate (#12661)
- **Description:** Updated the README for Hybrid Search Weaviate
10 months ago
Erick Friis 2a7e0a27cb
update lc version (#12655)
also updated py version in `csv-agent` and `rag-codellama-fireworks`
because they have stricter python requirements
10 months ago
Lance Martin da94c750c5
Add RAG template for Timescale Vector (#12651)
<!-- Thank you for contributing to LangChain!

Replace this entire comment with:
  - **Description:** a description of the change, 
  - **Issue:** the issue # it fixes (if applicable),
  - **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant
maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR
gets announced, and you'd like a mention, we'll gladly shout you out!

Please make sure your PR is passing linting and testing before
submitting. Run `make format`, `make lint` and `make test` to check this
locally.

See contribution guidelines for more information on how to write/run
tests, lint, etc:

https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md

If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on
network access,
2. an example notebook showing its use. It lives in `docs/extras`
directory.

If no one reviews your PR within a few days, please @-mention one of
@baskaryan, @eyurtsev, @hwchase17.
 -->

---------

Co-authored-by: Matvey Arye <mat@timescale.com>
10 months ago
Stefano Lottini a4e4b5a86f
Relax python version and remove need for explicit setup step (#12637)
This PR addresses what seems like a unnecessary Python version
restriction in the pyroject.toml specs within both Cassandra (/Astra DB)
templates. With "^3.11" I got some version incompatibilities with the
latest "langchain add [...]" commands, so these are now relaxed in line
with the other templates I could inspect.

Incidentally, in the "entomology" template, the need for an explicit
"setup" step for the user to carry on has been removed, replaced by a
check-and-execute-if-necessary instruction on app startup.

Thank you for your attention!
10 months ago
Erick Friis 912ace18e9
fix template py verisons (#12650) 10 months ago
William FH 17c2e3b87e
Rename Template (#12649)
To chatbot feedback. Update import
10 months ago
Erick Friis 7f6e751a3d
template updates (#12646) 10 months ago
Leonid Kuligin a53cac4508
added template to use Vertex Vector Search for q&a (#12622)
added template to use Vertex Vector Search for q&a
10 months ago
Lance Martin 944cb552bb
Minor updates to READMEs (#12642) 10 months ago
William FH 88f0f1e73b
Conversational Feedback (#12590)
Context in the README.

Show how score chat responses based on a followup from the user and then
log that as feedback in LangSmith
10 months ago
Erick Friis a1fae1fddd
Readme rewrite (#12615)
Co-authored-by: Lance Martin <lance@langchain.dev>
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
10 months ago
Harrison Chase f35a65124a
improve agent templates (#12528)
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
10 months ago
Harrison Chase 75bb28afd8
Harrison/pii chatbot (#12523)
the pii detection in the template is pretty basic, will need to be
customized per use case

the chain it "protects" can be swapped out for any chain
10 months ago
Erika Cardenas b97b9eda21
Hybrid Search Weaviate Template (#12606)
- **Description:** This template covers hybrid search in Weaviate
  - **Dependencies:** No
  - **Twitter handle:** @ecardenas300

---------

Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
10 months ago
Harrison Chase a7d5e0ce8a
add guardrails profanity (#12609) 10 months ago
Harrison Chase 8b5e879171
add a template for the package readme (#12499)
Co-authored-by: Erick Friis <erick@langchain.dev>
10 months ago
Ackermann Yuriy 99b69fe607
Fixed missing optional tags. Added default key value for Ollama (#12599)
Added missing Optional typings. Added default values for Ollama optional
keys.

---------

Co-authored-by: Bagatur <baskaryan@gmail.com>
10 months ago
Lance Martin f6f3ca12e7
Codebase RAG fireworks (#12597) 10 months ago
Harrison Chase 481bf6fae6
hosting note (#12589) 10 months ago
David Duong b5c17ff188
Force List[Tuple[str,str]] to chat history widget (#12530)
Co-authored-by: Bagatur <baskaryan@gmail.com>
10 months ago
David Duong d39b4b61b6
Batch apply `poetry lock --no-update` for all templates (#12531)
Ran the following bash script for all templates

```bash
#!/bin/bash

set -e
current_dir="$(pwd)"
for directory in */; do
    if [ -d "$directory" ]; then
        (cd "$directory" && poetry lock --no-update)
    fi
done

cd "$current_dir"
```

Co-authored-by: Bagatur <baskaryan@gmail.com>
10 months ago
Lance Martin 26f0ca222d
RAG template for MongoDB Atlas Vector Search (#12526) 10 months ago
William FH 199630ff93
Replace You with DDG in xml agent (#12504)
You requires an email to get an API key which IMO is too much friction.
Duckduck go is free and easy to install.
10 months ago
Lance Martin c57945e0a8
Formatting on ntbks (#12576) 10 months ago
Lance Martin 08103e6d48
Minor template cleaning (#12573) 10 months ago
Tomaz Bratanic 8e88ba16a8
Update neo4j template readmes (#12540) 10 months ago
Bagatur 2424fff3f1
notebook fmt (#12498) 10 months ago
Harrison Chase 56cc5b847c
Harrison/add descriptions (#12522) 10 months ago
Harrison Chase 9e0ae56287
various templates improvements (#12500) 10 months ago
Harrison Chase 61f5ea4b5e
Sphinxbio nls/add plate chain template (#12502)
Co-authored-by: Nicholas Larus-Stone <7347808+nlarusstone@users.noreply.github.com>
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
10 months ago
Harrison Chase 221134d239
Harrison/quick start (#12491)
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
10 months ago
Piyush Jain 689853902e
Added a rag template for Kendra (#12470)
## Description
Adds a rag template for Amazon Kendra with Bedrock.

---------

Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
10 months ago
Tyler Hutcherson 4209457bdc
Redis langserve template (#12443)
Add Redis langserve template! Eventually will add semantic caching to
this too. But I was struggling to get that to work for some reason with
the LCEL implementation here.

- **Description:** Introduces the Redis LangServe template. A simple RAG
based app built on top of Redis that allows you to chat with company's
public financial data (Edgar 10k filings)
  - **Issue:** None
- **Dependencies:** The template contains the poetry project
requirements to run this template
  - **Tag maintainer:** @baskaryan @Spartee 
  - **Twitter handle:** @tchutch94

**Note**: this requires the commit here that deletes the
`_aget_relevant_documents()` method from the Redis retriever class that
wasn't implemented. That was breaking the langserve app.

---------

Co-authored-by: Sam Partee <sam.partee@redis.com>
10 months ago
Piyush Jain 5545de0466
Updated the Bedrock rag template (#12462)
Updates the bedrock rag template.
- Removes pinecone and replaces with FAISS as the vector store
- Fixes the environment variables, setting defaults
- Adds a `main.py` test file quick sanity testing
- Updates README.md with correct instructions
10 months ago
Lance Martin 5c2243ee91
Update llama.cpp and Ollama templates (#12466) 10 months ago
Lance Martin f10c17c6a4
Update SQL templates (#12464) 10 months ago
Lance Martin a476147189
Add Weaviate RAG template (#12460) 10 months ago
Erick Friis 38cee5fae0
cli updates 2 (#12447)
- extras group
- readme
- another readme

---------

Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
10 months ago
Lance Martin 3afa68e30e
Update AWS Bedrock README.md (#12451) 10 months ago
Lance Martin 5c564e62e1
AWS Bedrock RAG template (#12450) 10 months ago
Erick Friis 6908634428
cli updates oct27 (#12436) 10 months ago
Lance Martin 68e12d34a9
Add invoke example to LLaMA2 function template notebook (#12437) 10 months ago
Lance Martin 05bbf943f2
LLaMA2 with JSON schema support template (#12435) 10 months ago
David Duong 52c194ec3a
Fix templates typos (#12428) 10 months ago
Lance Martin d6acb3ed7e
Clean-up template READMEs (#12403)
Normalize, and update notebooks.
10 months ago
Erick Friis 4b16601d33
Format Templates (#12396) 10 months ago
Harrison Chase 56ee56736b
add template for hyde (#12390) 10 months ago
Lance Martin b8af5b0a8e
Minor updates to ReRank template (#12388) 10 months ago
Lance Martin 237026c060
Cohere re-rank template (#12378) 10 months ago
Jacob Lee 7e5e5e87d8
Adds linter in templates (#12321)
Did not actually run/fix errors yet @efriis
10 months ago
Lance Martin 0af6e64ad9
Update multi query template README, ntbk (#12356) 10 months ago
Lance Martin bc6f6e968e
Add template for Pinecone + Multi-Query (#12353) 10 months ago
Harrison Chase 8ec7aade9f
add docs for templates (#12346) 10 months ago
Jacob Lee 28c39503eb
Allow index name customization via env var in rag-conversation (#12315) 10 months ago
Erick Friis ebf998acb6
Templates (#12294)
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
Co-authored-by: Lance Martin <lance@langchain.dev>
Co-authored-by: Jacob Lee <jacoblee93@gmail.com>
10 months ago