Skip to content

Commit

Permalink
TEMPLATES Metadata (langchain-ai#13691)
Browse files Browse the repository at this point in the history
Co-authored-by: Lance Martin <[email protected]>
  • Loading branch information
efriis and rlancemartin authored Nov 22, 2023
1 parent e327bb4 commit 78da341
Show file tree
Hide file tree
Showing 73 changed files with 491 additions and 71 deletions.
8 changes: 7 additions & 1 deletion templates/anthropic-iterative-search/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "anthropic-iterative-search"
version = "0.0.1"
description = ""
description = "A virtual research assistant with the ability to search Wikipedia and answer questions"
authors = []
readme = "README.md"

Expand All @@ -18,6 +18,12 @@ langchain-cli = {extras = ["serve"], version = "^0.0.13"}
export_module = "anthropic_iterative_search"
export_attr = "chain"

[tool.templates-hub]
use-case = "research"
author = "LangChain"
integrations = ["Anthropic", "Wikipedia"]
tags = ["research", "agents"]

[build-system]
requires = [
"poetry-core",
Expand Down
4 changes: 2 additions & 2 deletions templates/basic-critique-revise/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# basic-critique-revise

TODO: What does this package do
Iteratively generate schema candidates and revise them based on errors.

## Environment Setup

TODO: What environment variables need to be set (if any)
This template uses OpenAI function calling, so you will need to set the `OPENAI_API_KEY` environment variable in order to use this template.

## Usage

Expand Down
8 changes: 7 additions & 1 deletion templates/basic-critique-revise/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "basic_critique_revise"
version = "0.0.1"
description = ""
description = "Iteratively generate schema candidates and revise based on errors"
authors = []
readme = "README.md"

Expand All @@ -19,6 +19,12 @@ sse-starlette = "^1.6.5"
export_module = "basic_critique_revise"
export_attr = "chain"

[tool.templates-hub]
use-case = "research"
author = "LangChain"
integrations = ["OpenAI", "Function Calling", "Pydantic"]
tags = ["research", "function-calling"]

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
8 changes: 7 additions & 1 deletion templates/cassandra-entomology-rag/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "cassandra-entomology-rag"
version = "0.0.1"
description = ""
description = "RAG using Apache Cassandra® or Astra DB"
authors = [
"Stefano Lottini <[email protected]>",
]
Expand All @@ -21,6 +21,12 @@ langchain-cli = ">=0.0.15"
export_module = "cassandra_entomology_rag"
export_attr = "chain"

[tool.templates-hub]
use-case = "rag"
author = "DataStax"
integrations = ["OpenAI", "Cassandra"]
tags = ["vectordbs"]

[build-system]
requires = [
"poetry-core",
Expand Down
8 changes: 7 additions & 1 deletion templates/cassandra-synonym-caching/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "cassandra-synonym-caching"
version = "0.0.1"
description = ""
description = "LLM caching backed by Apache Cassandra® or Astra DB"
authors = [
"Stefano Lottini <[email protected]>",
]
Expand All @@ -21,6 +21,12 @@ langchain-cli = ">=0.0.15"
export_module = "cassandra_synonym_caching"
export_attr = "chain"

[tool.templates-hub]
use-case = "rag"
author = "DataStax"
integrations = ["OpenAI", "Cassandra"]
tags = ["vectordbs"]

[build-system]
requires = [
"poetry-core",
Expand Down
8 changes: 7 additions & 1 deletion templates/chain-of-note-wiki/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "chain-of-note-wiki"
version = "0.0.1"
description = ""
description = "Implementation of Chain of Note prompting for Wikipedia."
authors = []
readme = "README.md"

Expand All @@ -21,6 +21,12 @@ sse-starlette = "^1.6.5"
export_module = "chain_of_note_wiki"
export_attr = "chain"

[tool.templates-hub]
use-case = "rag"
author = "LangChain"
integrations = ["Anthropic", "Wikipedia", "LangChain Hub"]
tags = ["paper", "prompt-hub"]

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
8 changes: 7 additions & 1 deletion templates/chat-bot-feedback/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "chat-bot-feedback"
version = "0.0.1"
description = ""
description = "Evaluate your chatbot without human feedback"
authors = []
readme = "README.md"

Expand All @@ -21,6 +21,12 @@ sse-starlette = "^1.6.5"
export_module = "chat_bot_feedback.chain"
export_attr = "chain"

[tool.templates-hub]
use-case = "evaluation"
author = "LangChain"
integrations = ["OpenAI", "LangSmith"]
tags = ["langsmith"]

[build-system]
requires = [
"poetry-core",
Expand Down
8 changes: 7 additions & 1 deletion templates/csv-agent/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "csv-agent"
version = "0.0.1"
description = ""
description = "Analyze csv data with Pandas and OpenAI"
authors = []
readme = "README.md"

Expand All @@ -24,6 +24,12 @@ langchain-cli = ">=0.0.15"
export_module = "csv_agent"
export_attr = "agent_executor"

[tool.templates-hub]
use-case = "question-answering"
author = "LangChain"
integrations = ["OpenAI", "Pandas"]
tags = ["data", "agents"]

[build-system]
requires = [
"poetry-core",
Expand Down
8 changes: 7 additions & 1 deletion templates/elastic-query-generator/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "elastic-query-generator"
version = "0.0.1"
description = ""
description = "Interact with Elasticsearch analytics databases using natural language"
authors = []
readme = "README.md"

Expand All @@ -18,6 +18,12 @@ langchain-cli = ">=0.0.15"
export_module = "elastic_query_generator"
export_attr = "chain"

[tool.templates-hub]
use-case = "query"
author = "LangChain"
integrations = ["Elasticsearch", "OpenAI"]
tags = ["query-generation"]

[build-system]
requires = [
"poetry-core",
Expand Down
8 changes: 7 additions & 1 deletion templates/extraction-anthropic-functions/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "extraction-anthropic-functions"
version = "0.1.0"
description = ""
description = "Use Anthropic function calling for tasks like extraction or tagging"
authors = [
"Lance Martin <[email protected]>",
]
Expand All @@ -21,6 +21,12 @@ langchain-cli = ">=0.0.15"
export_module = "extraction_anthropic_functions"
export_attr = "chain"

[tool.templates-hub]
use-case = "extraction"
author = "LangChain"
integrations = ["Anthropic", "Function Calling"]
tags = ["function-calling", "tagging", "extraction"]

[build-system]
requires = [
"poetry-core",
Expand Down
8 changes: 7 additions & 1 deletion templates/extraction-openai-functions/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "extraction-openai-functions"
version = "0.1.0"
description = ""
description = "Use OpenAI function calling for tasks like extraction or tagging"
authors = [
"Lance Martin <[email protected]>",
]
Expand All @@ -19,6 +19,12 @@ langchain-cli = ">=0.0.15"
export_module = "extraction_openai_functions"
export_attr = "chain"

[tool.templates-hub]
use-case = "extraction"
author = "LangChain"
integrations = ["OpenAI", "Function Calling"]
tags = ["function-calling", "tagging", "extraction"]

[build-system]
requires = [
"poetry-core",
Expand Down
8 changes: 7 additions & 1 deletion templates/guardrails-output-parser/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "guardrails-output-parser"
version = "0.0.1"
description = ""
description = "Use guardrails-ai to validate LLM output"
authors = []
readme = "README.md"

Expand All @@ -21,6 +21,12 @@ sse-starlette = "^1.6.5"
export_module = "guardrails_output_parser.chain"
export_attr = "chain"

[tool.templates-hub]
use-case = "validation"
author = "LangChain"
integrations = ["Guardrails", "OpenAI"]
tags = ["moderation"]

[build-system]
requires = [
"poetry-core",
Expand Down
8 changes: 7 additions & 1 deletion templates/hybrid-search-weaviate/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "hybrid-search-weaviate"
version = "0.1.0"
description = ""
description = "Improve accuracy and relevance with Weaviate hybrid search"
authors = ["Erika Cardenas <[email protected]>"]
readme = "README.md"

Expand All @@ -24,6 +24,12 @@ version = "^1.0.0"
export_module = "hybrid_search_weaviate"
export_attr = "chain"

[tool.templates-hub]
use-case = "search"
author = "Weaviate"
integrations = ["Weaviate", "OpenAI"]
tags = ["hybrid-search", "vectordb"]

[build-system]
requires = [
"poetry-core",
Expand Down
8 changes: 7 additions & 1 deletion templates/hyde/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "hyde"
version = "0.0.1"
description = ""
description = "Retrieval with Hypothetical Document Embeddings (HyDE)"
authors = []
readme = "README.md"

Expand All @@ -22,6 +22,12 @@ sse-starlette = "^1.6.5"
export_module = "hyde.chain"
export_attr = "chain"

[tool.templates-hub]
use-case = "rag"
author = "LangChain"
integrations = ["OpenAI", "ChromaDB"]
tags = ["paper"]

[tool.poe.tasks.start]
cmd = "uvicorn langchain_cli.dev_scripts:create_demo_server --reload --port $port --host $host"
args = [
Expand Down
8 changes: 7 additions & 1 deletion templates/llama2-functions/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "llama2-functions"
version = "0.1.0"
description = ""
description = "Extraction with a JSON-output LLaMA2 model"
authors = [
"Lance Martin <[email protected]>",
]
Expand All @@ -19,6 +19,12 @@ langchain-cli = ">=0.0.15"
export_module = "llama2_functions"
export_attr = "chain"

[tool.templates-hub]
use-case = "extraction"
author = "LangChain"
integrations = ["Llama.cpp", "Replicate"]
tags = ["local-llm", "function-calling"]

[build-system]
requires = [
"poetry-core",
Expand Down
8 changes: 7 additions & 1 deletion templates/mongo-parent-document-retrieval/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "mongo-parent-document-retrieval"
version = "0.0.1"
description = ""
description = "RAG using MongoDB and OpenAI"
authors = []
readme = "README.md"

Expand All @@ -22,6 +22,12 @@ sse-starlette = "^1.6.5"
export_module = "mongo_parent_document_retrieval"
export_attr = "chain"

[tool.templates-hub]
use-case = "rag"
author = "LangChain"
integrations = ["MongoDB", "OpenAI"]
tags = ["vectordb"]

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
8 changes: 7 additions & 1 deletion templates/neo4j-advanced-rag/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "neo4j-advanced-rag"
version = "0.1.0"
description = ""
description = "Balance precise embeddings and context retention with advanced strategies"
authors = [
"Tomaz Bratanic <[email protected]>",
]
Expand All @@ -18,6 +18,12 @@ neo4j = "^5.14.0"
export_module = "neo4j_advanced_rag"
export_attr = "chain"

[tool.templates-hub]
use-case = "rag"
author = "Neo4j"
integrations = ["Neo4j", "OpenAI"]
tags = ["vectordb", "parent", "summarization"]

[build-system]
requires = [
"poetry-core",
Expand Down
8 changes: 7 additions & 1 deletion templates/neo4j-cypher-ft/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "neo4j-cypher-ft"
version = "0.1.0"
description = ""
description = "Interact with a Neo4j graph database using natural language"
authors = [
"Tomaz Bratanic <[email protected]>",
]
Expand All @@ -20,6 +20,12 @@ langchain-cli = ">=0.0.15"
export_module = "neo4j_cypher_ft"
export_attr = "chain"

[tool.templates-hub]
use-case = "query"
author = "Neo4j"
integrations = ["Neo4j", "OpenAI"]
tags = ["search", "graph-database", "query"]

[build-system]
requires = [
"poetry-core",
Expand Down
Loading

0 comments on commit 78da341

Please sign in to comment.