mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
docs: fix code usage to use the ollama variant (#23937)
**Description:** the template neo4j-semantic-ollama uses an import from the neo4j-semantic-layer template instead of its own. Co-authored-by: Erick Friis <erick@langchain.dev>
This commit is contained in:
parent
7677ceea60
commit
6b47c7361e
@ -67,7 +67,7 @@ langchain app add neo4j-semantic-ollama
|
||||
|
||||
And add the following code to your `server.py` file:
|
||||
```python
|
||||
from neo4j_semantic_layer import agent_executor as neo4j_semantic_agent
|
||||
from neo4j_semantic_ollama import agent_executor as neo4j_semantic_agent
|
||||
|
||||
add_routes(app, neo4j_semantic_agent, path="/neo4j-semantic-ollama")
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user