Home / Function/ langchain_community() — langchain Function Reference

langchain_community() — langchain Function Reference

Architecture documentation for the langchain_community() function in prompts.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  d1148523_76ad_4da1_f769_08b52868b13f["langchain_community()"]
  328702eb_17e4_fbf9_7438_532602d08e88["prompts.py"]
  d1148523_76ad_4da1_f769_08b52868b13f -->|defined in| 328702eb_17e4_fbf9_7438_532602d08e88
  style d1148523_76ad_4da1_f769_08b52868b13f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/chains/graph_qa/prompts.py lines 6–29

    from langchain_community.chains.graph_qa.prompts import (
        AQL_FIX_TEMPLATE,
        AQL_GENERATION_TEMPLATE,
        AQL_QA_TEMPLATE,
        CYPHER_GENERATION_PROMPT,
        CYPHER_GENERATION_TEMPLATE,
        CYPHER_QA_PROMPT,
        CYPHER_QA_TEMPLATE,
        GRAPHDB_QA_TEMPLATE,
        GRAPHDB_SPARQL_FIX_TEMPLATE,
        GRAPHDB_SPARQL_GENERATION_TEMPLATE,
        GREMLIN_GENERATION_TEMPLATE,
        KUZU_EXTRA_INSTRUCTIONS,
        KUZU_GENERATION_TEMPLATE,
        NEBULAGRAPH_EXTRA_INSTRUCTIONS,
        NEPTUNE_OPENCYPHER_EXTRA_INSTRUCTIONS,
        NEPTUNE_OPENCYPHER_GENERATION_SIMPLE_TEMPLATE,
        NEPTUNE_OPENCYPHER_GENERATION_TEMPLATE,
        NGQL_GENERATION_TEMPLATE,
        SPARQL_GENERATION_SELECT_TEMPLATE,
        SPARQL_GENERATION_UPDATE_TEMPLATE,
        SPARQL_INTENT_TEMPLATE,
        SPARQL_QA_TEMPLATE,
    )

Subdomains

Frequently Asked Questions

What does langchain_community() do?
langchain_community() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/chains/graph_qa/prompts.py.
Where is langchain_community() defined?
langchain_community() is defined in libs/langchain/langchain_classic/chains/graph_qa/prompts.py at line 6.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free