using DramaLing.Api.Models.Entities;
namespace DramaLing.Api.Contracts.Services.Core;
///
/// 選項詞彙庫服務介面
/// 提供智能測驗選項生成功能
///
public interface IOptionsVocabularyService
{
///
/// 生成智能干擾選項
///
/// 目標詞彙
/// CEFR 等級
/// 詞性
/// 需要的選項數量
/// 干擾選項列表
Task> GenerateDistractorsAsync(
string targetWord,
string cefrLevel,
string partOfSpeech,
int count = 3);
///
/// 生成智能干擾選項(含詳細資訊)
///
/// 目標詞彙
/// CEFR 等級
/// 詞性
/// 需要的選項數量
/// 含詳細資訊的干擾選項
Task> GenerateDistractorsWithDetailsAsync(
string targetWord,
string cefrLevel,
string partOfSpeech,
int count = 3);
///
/// 檢查詞彙庫是否有足夠的詞彙支援選項生成
///
/// CEFR 等級
/// 詞性
/// 是否有足夠詞彙
Task HasSufficientVocabularyAsync(string cefrLevel, string partOfSpeech);
}