package com.gxwebsoft.house.service;

import com.github.yulichang.base.MPJBaseService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.house.entity.HouseFaq;
import com.gxwebsoft.house.param.HouseFaqParam;

import java.util.List;

/**
 * AI找房常见问题Service
 */
public interface HouseFaqService extends MPJBaseService<HouseFaq> {

    PageResult<HouseFaq> pageRel(HouseFaqParam param);

    List<HouseFaq> listRel(HouseFaqParam param);

    HouseFaq getByIdRel(Integer faqId);

    List<HouseFaq> findBestMatches(String queryText, int limit);

    List<HouseFaq> findBestMatches(String queryText, int limit, Integer tenantId);
}
