* [story #78659] refactor, remove comment to limit lines in 200.
This commit is contained in:
@@ -383,14 +383,6 @@ class zaiModel extends model
|
||||
/**
|
||||
* 搜索知识库。
|
||||
* Search knowledge base.
|
||||
*
|
||||
* @access public
|
||||
* @param string $query
|
||||
* @param string $collection
|
||||
* @param array $filter
|
||||
* @param int $limit
|
||||
* @param float $minSimilarity
|
||||
* @return array
|
||||
*/
|
||||
public function searchKnowledges(string $query, string $collection, array $filter, int $limit = 20, float $minSimilarity = 0.8): array
|
||||
{
|
||||
@@ -409,11 +401,6 @@ class zaiModel extends model
|
||||
/**
|
||||
* 判断用户是否可以查看对象。
|
||||
* Check if user can view object.
|
||||
*
|
||||
* @access public
|
||||
* @param string $objectType
|
||||
* @param int $objectID
|
||||
* @return bool
|
||||
*/
|
||||
public function isCanViewObject(string $objectType, int $objectID, ?array $attrs = null): bool
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user