You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
424 B
C#
17 lines
424 B
C#
using System.Threading.Tasks;
|
|
|
|
namespace AI.KnowledgeBase
|
|
{
|
|
/// <summary>
|
|
/// 知识库接口
|
|
/// </summary>
|
|
public interface IKnowledgeBase
|
|
{
|
|
/// <summary>
|
|
/// 查询知识库中的信息
|
|
/// </summary>
|
|
/// <param name="query">查询语句</param>
|
|
/// <returns>返回匹配的知识条目</returns>
|
|
Task<string> SearchKnowledgeAsync(string query);
|
|
}
|
|
} |