Skip to content

Commit 2713662

Browse files
Merge pull request #199 from mindsdb/kb-limit-default
updated KB default limit value
2 parents 8f5e195 + 9f61298 commit 2713662

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mindsdb_sdk/knowledge_bases.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def __init__(self, api, project, data: dict):
8686
def __repr__(self):
8787
return f'{self.__class__.__name__}({self.project.name}.{self.name})'
8888

89-
def find(self, query: str, limit: int = 100):
89+
def find(self, query: str, limit: int = 10):
9090
"""
9191
9292
Query data from knowledge base.
@@ -98,7 +98,7 @@ def find(self, query: str, limit: int = 100):
9898
>>> print(query.fetch())
9999
100100
:param query: text query
101-
:param limit: count of rows in result, default 100
101+
:param limit: count of rows in result, default 10
102102
:return: Query object
103103
"""
104104

0 commit comments

Comments
 (0)