Spaces:
Sleeping
Sleeping
Update agent_langchain.py
Browse files- agent_langchain.py +1 -0
agent_langchain.py
CHANGED
|
@@ -8,6 +8,7 @@ import numpy as np
|
|
| 8 |
import chromadb
|
| 9 |
from chromadb.utils import embedding_functions
|
| 10 |
from chromadb.config import Settings
|
|
|
|
| 11 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
| 12 |
from langchain.agents import initialize_agent, Tool, AgentType
|
| 13 |
from langchain.memory import ConversationBufferMemory
|
|
|
|
| 8 |
import chromadb
|
| 9 |
from chromadb.utils import embedding_functions
|
| 10 |
from chromadb.config import Settings
|
| 11 |
+
from chromadb.api.models import Collection
|
| 12 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
| 13 |
from langchain.agents import initialize_agent, Tool, AgentType
|
| 14 |
from langchain.memory import ConversationBufferMemory
|