feat: add count to get document count in vector db (#164)
This commit is contained in:
@@ -332,6 +332,14 @@ Resets the database and deletes all embeddings. Irreversible. Requires reinitial
|
||||
app.reset()
|
||||
```
|
||||
|
||||
### Count
|
||||
Counts the number of embeddings (chunks) in the database.
|
||||
|
||||
```
|
||||
print(app.count())
|
||||
# returns: 481
|
||||
```
|
||||
|
||||
# How does it work?
|
||||
|
||||
Creating a chat bot over any dataset needs the following steps to happen
|
||||
|
||||
Reference in New Issue
Block a user