Commit Graph

46 Commits

Author SHA1 Message Date
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
2023-10-31 08:34:17 -07:00
Erick Friis
a1fae1fddd
Readme rewrite (#12615)
Co-authored-by: Lance Martin <lance@langchain.dev>
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
2023-10-31 00:06:02 -07:00
Harrison Chase
f35a65124a
improve agent templates (#12528)
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
2023-10-30 18:15:13 -07:00
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
2023-10-30 18:13:12 -07:00
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>
2023-10-30 18:10:48 -07:00
Harrison Chase
a7d5e0ce8a
add guardrails profanity (#12609) 2023-10-30 17:01:23 -07:00
Harrison Chase
8b5e879171
add a template for the package readme (#12499)
Co-authored-by: Erick Friis <erick@langchain.dev>
2023-10-30 16:39:39 -07:00
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>
2023-10-30 16:30:10 -07:00
Lance Martin
f6f3ca12e7
Codebase RAG fireworks (#12597) 2023-10-30 16:21:56 -07:00
Harrison Chase
481bf6fae6
hosting note (#12589) 2023-10-30 15:31:31 -07:00
David Duong
b5c17ff188
Force List[Tuple[str,str]] to chat history widget (#12530)
Co-authored-by: Bagatur <baskaryan@gmail.com>
2023-10-30 15:19:32 -07:00
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>
2023-10-30 15:18:53 -07:00
Lance Martin
26f0ca222d
RAG template for MongoDB Atlas Vector Search (#12526) 2023-10-30 14:31:34 -07:00
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.
2023-10-30 12:51:00 -07:00
Lance Martin
c57945e0a8
Formatting on ntbks (#12576) 2023-10-30 11:32:31 -07:00
Lance Martin
08103e6d48
Minor template cleaning (#12573) 2023-10-30 11:27:44 -07:00
Tomaz Bratanic
8e88ba16a8
Update neo4j template readmes (#12540) 2023-10-30 07:57:53 -07:00
Bagatur
2424fff3f1
notebook fmt (#12498) 2023-10-29 15:50:09 -07:00
Harrison Chase
56cc5b847c
Harrison/add descriptions (#12522) 2023-10-29 15:11:37 -07:00
Harrison Chase
9e0ae56287
various templates improvements (#12500) 2023-10-28 22:13:22 -07:00
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>
2023-10-28 21:48:17 -07:00
Harrison Chase
221134d239
Harrison/quick start (#12491)
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
2023-10-28 16:26:52 -07:00
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>
2023-10-28 08:58:28 -07:00
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>
2023-10-28 08:31:12 -07:00
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
2023-10-27 17:02:28 -07:00
Lance Martin
5c2243ee91
Update llama.cpp and Ollama templates (#12466) 2023-10-27 16:54:54 -07:00
Lance Martin
f10c17c6a4
Update SQL templates (#12464) 2023-10-27 16:34:37 -07:00
Lance Martin
a476147189
Add Weaviate RAG template (#12460) 2023-10-27 15:19:34 -07:00
Erick Friis
38cee5fae0
cli updates 2 (#12447)
- extras group
- readme
- another readme

---------

Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
2023-10-27 13:37:03 -07:00
Lance Martin
3afa68e30e
Update AWS Bedrock README.md (#12451) 2023-10-27 13:21:54 -07:00
Lance Martin
5c564e62e1
AWS Bedrock RAG template (#12450) 2023-10-27 13:15:54 -07:00
Erick Friis
6908634428
cli updates oct27 (#12436) 2023-10-27 12:06:46 -07:00
Lance Martin
68e12d34a9
Add invoke example to LLaMA2 function template notebook (#12437) 2023-10-27 10:58:24 -07:00
Lance Martin
05bbf943f2
LLaMA2 with JSON schema support template (#12435) 2023-10-27 10:34:00 -07:00
David Duong
52c194ec3a
Fix templates typos (#12428) 2023-10-27 09:32:57 -07:00
Lance Martin
d6acb3ed7e
Clean-up template READMEs (#12403)
Normalize, and update notebooks.
2023-10-26 22:23:03 -07:00
Erick Friis
4b16601d33
Format Templates (#12396) 2023-10-26 19:44:30 -07:00
Harrison Chase
56ee56736b
add template for hyde (#12390) 2023-10-26 17:38:35 -07:00
Lance Martin
b8af5b0a8e
Minor updates to ReRank template (#12388) 2023-10-26 16:05:17 -07:00
Lance Martin
237026c060
Cohere re-rank template (#12378) 2023-10-26 15:29:10 -07:00
Jacob Lee
7e5e5e87d8
Adds linter in templates (#12321)
Did not actually run/fix errors yet @efriis
2023-10-26 13:55:07 -07:00
Lance Martin
0af6e64ad9
Update multi query template README, ntbk (#12356) 2023-10-26 11:24:44 -07:00
Lance Martin
bc6f6e968e
Add template for Pinecone + Multi-Query (#12353) 2023-10-26 10:12:23 -07:00
Harrison Chase
8ec7aade9f
add docs for templates (#12346) 2023-10-26 08:28:01 -07:00
Jacob Lee
28c39503eb
Allow index name customization via env var in rag-conversation (#12315) 2023-10-25 22:11:13 -07:00
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>
2023-10-25 18:47:42 -07:00