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:
Nada Amin 2024-07-12 19:07:42 -04:00 committed by GitHub
parent 7677ceea60
commit 6b47c7361e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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")
```