File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed
Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 11black
22python-dotenv
3+ tiktoken
34langchain
45langchain_community
56langchain-ollama
Original file line number Diff line number Diff line change 2525vector_store = Neo4jVector .from_documents (
2626 documents = doc_splits ,
2727 embedding = OllamaEmbeddings (
28- base_url = "http://localhost:11434" , model = "llama3.2 :latest"
28+ base_url = "http://localhost:11434" , model = "gemma2 :latest"
2929 ),
3030 url = os .getenv ("NEO4J_URL" ),
3131 username = os .getenv ("NEO4J_USER" ),
4646)
4747
4848llm = ChatOllama (
49- base_url = "http://localhost:11434" , model = "llama3.2 :latest" , temperature = 0
49+ base_url = "http://localhost:11434" , model = "gemma2 :latest" , temperature = 0
5050)
5151
5252rag_chain = prompt | llm | StrOutputParser ()
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # https://debian.neo4j.com/
4+ sudo apt update
5+ wget -O - https://debian.neo4j.com/neotechnology.gpg.key | sudo apt-key add -
6+ echo ' deb https://debian.neo4j.com stable latest' | sudo tee /etc/apt/sources.list.d/neo4j.list
7+ sudo apt update
8+
9+ sudo apt install neo4j -y
10+ sudo systemctl enable neo4j.service
11+ sudo systemctl start neo4j.service
12+ sudo systemctl status neo4j.service
13+
14+ neo4j --version
You can’t perform that action at this time.
0 commit comments