Skip to content

Commit 9f61298

Browse files
updated KB default limit value
updated KB default limit value to match the default limit from SQL version (https://github.com/mindsdb/mindsdb/blob/main/mindsdb/interfaces/knowledge_base/controller.py#L246)
1 parent 8f5e195 commit 9f61298

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)