mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-02 13:08:57 +00:00
Minor updates to READMEs (#12642)
This commit is contained in:
parent
88f0f1e73b
commit
944cb552bb
@ -1,10 +1,13 @@
|
||||
|
||||
# neo4j-generation
|
||||
|
||||
The neo4j-generation template is designed to convert plain text into structured knowledge graphs.
|
||||
This template pairs LLM-based knowledge graph extraction with Neo4j AuraDB, a fully managed cloud graph database.
|
||||
|
||||
By using OpenAI's language model, it can efficiently extract structured information from text and construct a knowledge graph in Neo4j.
|
||||
You can create a free instance on [Neo4j Aura](https://neo4j.com/cloud/platform/aura-graph-database?utm_source=langchain&utm_content=langserve).
|
||||
|
||||
This package is flexible and allows users to guide the extraction process by specifying a list of node labels and relationship types.
|
||||
When you initiate a free database instance, you'll receive credentials to access the database.
|
||||
|
||||
This template is flexible and allows users to guide the extraction process by specifying a list of node labels and relationship types.
|
||||
|
||||
For more details on the functionality and capabilities of this package, please refer to [this blog post](https://blog.langchain.dev/constructing-knowledge-graphs-from-text-using-openai-functions/).
|
||||
|
||||
|
@ -34,9 +34,9 @@ langchain app add plate-chain
|
||||
Then add the following code to your `server.py` file:
|
||||
|
||||
```python
|
||||
from plate_chain import chain as plate_chain_chain
|
||||
from plate_chain import chain as plate_chain
|
||||
|
||||
add_routes(app, plate_chain_chain, path="/plate-chain")
|
||||
add_routes(app, plate_chain, path="/plate-chain")
|
||||
```
|
||||
|
||||
(Optional) For configuring LangSmith, which helps trace, monitor and debug LangChain applications, use the following code:
|
||||
|
@ -2,6 +2,8 @@
|
||||
|
||||
This template performs RAG on semi-structured data, such as a PDF with text and tables.
|
||||
|
||||
See [this cookbook](https://github.com/langchain-ai/langchain/blob/master/cookbook/Semi_Structured_RAG.ipynb) as a reference.
|
||||
|
||||
## Environment Setup
|
||||
|
||||
Set the `OPENAI_API_KEY` environment variable to access the OpenAI models.
|
||||
|
Loading…
Reference in New Issue
Block a user