mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-28 01:19:31 +00:00
template: use dashes instead of underscores for neo4j-cypher package and path in readme (#12827)
Minimal readme template update underscores didn't work, dashes do
This commit is contained in:
parent
e14aa37d59
commit
e43b4079c8
@ -42,13 +42,13 @@ pip install -U langchain-cli
|
|||||||
To create a new LangChain project and install this as the only package, you can do:
|
To create a new LangChain project and install this as the only package, you can do:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
langchain app new my-app --package neo4j_cypher
|
langchain app new my-app --package neo4j-cypher
|
||||||
```
|
```
|
||||||
|
|
||||||
If you want to add this to an existing project, you can just run:
|
If you want to add this to an existing project, you can just run:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
langchain app add neo4j_cypher
|
langchain app add neo4j-cypher
|
||||||
```
|
```
|
||||||
|
|
||||||
And add the following code to your `server.py` file:
|
And add the following code to your `server.py` file:
|
||||||
@ -86,5 +86,5 @@ We can access the template from code with:
|
|||||||
```python
|
```python
|
||||||
from langserve.client import RemoteRunnable
|
from langserve.client import RemoteRunnable
|
||||||
|
|
||||||
runnable = RemoteRunnable("http://localhost:8000/neo4j_cypher")
|
runnable = RemoteRunnable("http://localhost:8000/neo4j-cypher")
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user