Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ MONGO_DB_NAME = os.getenv("MONGO_DB_NAME")
|
|
| 12 |
# Connect to MongoDB
|
| 13 |
client = MongoClient(MONGO_URI)
|
| 14 |
db = client[MONGO_DB_NAME]
|
| 15 |
-
vectors_collection = db["
|
| 16 |
|
| 17 |
# Define a Pydantic model for vectors
|
| 18 |
class Vector(BaseModel):
|
|
|
|
| 12 |
# Connect to MongoDB
|
| 13 |
client = MongoClient(MONGO_URI)
|
| 14 |
db = client[MONGO_DB_NAME]
|
| 15 |
+
vectors_collection = db["vector_collection"]
|
| 16 |
|
| 17 |
# Define a Pydantic model for vectors
|
| 18 |
class Vector(BaseModel):
|