Advanced Capstone: A Comprehensive Test Suite
Fifty Ragas cases, a Giskard scan sized to the course's 40+ probes, and a DSPy-drafted dataset: coverage with a number attached, not a feeling.
8 min read8 মিনিটে পড়া যায় · 6 sections6টি সেকশন · 4 sources4টি সোর্স · updated Nov 2026আপডেট: Nov 2026
Which test suite covers which layerকোন টেস্ট সুট কোন লেয়ার কভার করে
Switch five suites on one by one, see which part of the agent each covers, then drop multi-turn and find the gap.পাঁচটা সুট একে একে চালু করুন, দেখুন প্রতিটা এজেন্টের কোন অংশ কভার করে, তারপর multi-turn বাদ দিয়ে ফাঁকটা খুঁজুন।
You’ll learnআপনি শিখবেন
- Which suite targets which layerকোন সুট কোন লেয়ার লক্ষ্য করে
- What multi-turn tests catchমাল্টি-টার্ন টেস্ট কী ধরে
- Why DSPy cases give breadthDSPy কেস কেন পরিধি দেয়
- What is lost without one suiteএকটা সুট না থাকলে কী হারায়
In plain words
This session's test suite covers four kinds of thing the advanced capstone's agent architecture introduced: retrieval and answer quality (Ragas, across four of its RAG metrics — faithfulness, answer (response) relevancy, context precision, context recall Source 1সোর্স 1; these are the four the course names Source 4সোর্স 4), agent decisions (did it pick the right branch and the right tool arguments, reusing the routing-test pattern from the setup session), multi-turn behaviour (does the conversation hold up across several turns, not just one), and synthetic coverage at scale, drafted with a DSPy signature Source 2সোর্স 2 (the course calls this synthetic test data generation Source 4সোর্স 4) rather than written by hand.
The red teaming step reuses Giskard's scan Source 3সোর্স 3 against this specific app, where the course asks for 40 or more attack probes (course Session 19 Source 4সোর্স 4). Giskard's open-source scan sizes the run with max_scenarios, so set it explicitly and record how many scenarios ran. An agent with a tool-use layer has a wider attack surface than a read-only chatbot; excessive agency (an OWASP LLM Top 10 risk; the scan itself tags findings as harmful-content, unauthorized-advice or prompt-injection) is a real risk here in a way it was not for the Phase 1 capstone.
সহজ English
The test suite covers four things that the advanced capstone's agent adds. The first is retrieval and answer quality. Ragas checks this with four of its RAG metrics: faithfulness, answer (response) relevancy, context precision, and context recall Source 1সোর্স 1. These are the four the course names Source 4সোর্স 4. The second is agent decisions. Did the agent pick the right branch and the right tool arguments? This reuses the routing-test pattern from the setup session. The third is multi-turn behaviour. Does the conversation hold up across several turns, not just one? The fourth is synthetic coverage at scale. DSPy is a framework for programming language models with signatures and modules Source 2সোর্স 2. Here a DSPy signature drafts the cases, so nobody writes them by hand. The course calls this synthetic test data generation Source 4সোর্স 4.
The red teaming step uses Giskard's scan again Source 3সোর্স 3. It runs against this specific app. The course asks for 40 or more attack probes (course Session 19 Source 4সোর্স 4). Giskard's open-source scan sizes the run with max_scenarios, so set it explicitly and record how many scenarios ran. An agent that uses tools has a wider attack surface than a chatbot that only reads. Excessive agency is a real risk here. It is an OWASP LLM Top 10 risk. The scan itself tags findings as harmful-content, unauthorized-advice or prompt-injection. It was not a real risk for the Phase 1 capstone.
বাংলা ব্যাখ্যা
এই session-এর test suite advanced capstone-এর agent architecture যে চার ধরনের জিনিস নিয়ে এসেছে তা কভার করে: retrieval আর answer quality (Ragas, এর RAG metric-এর মধ্যে চারটা জুড়ে — faithfulness, answer (response) relevancy, context precision, context recall Source 1সোর্স 1; এই চারটাই course-এ নাম করা Source 4সোর্স 4), agent decision (এটা কি সঠিক শাখা আর সঠিক tool argument বেছে নিয়েছে, setup session-এর routing-test প্যাটার্ন আবার ব্যবহার করে), multi-turn আচরণ (কথোপকথন একাধিক turn-এ টিকে থাকে কিনা, শুধু একটা নয়), আর DSPy signature দিয়ে খসড়া করা স্কেলে synthetic coverage Source 2সোর্স 2 (course একে synthetic test data generation বলে Source 4সোর্স 4), হাতে লেখা নয়।
Red teaming ধাপ এই নির্দিষ্ট app-এর বিরুদ্ধে Giskard-এর scan আবার ব্যবহার করে Source 3সোর্স 3, যেখানে course ৪০ বা তার বেশি attack probe চায় (course Session 19 Source 4সোর্স 4)। Giskard-এর open-source scan max_scenarios দিয়ে run-এর আকার ঠিক করে, তাই এটা স্পষ্টভাবে সেট করুন আর কয়টা scenario চলেছে লিখে রাখুন। tool-use layer সহ একটা agent-এর read-only chatbot-এর চেয়ে বড় attack surface আছে — excessive agency (একটা OWASP LLM Top 10 ঝুঁকি; scan নিজে finding-কে harmful-content, unauthorized-advice বা prompt-injection ট্যাগ করে) এখানে একটা real ঝুঁকি, যা Phase 1 capstone-এর জন্য ছিল না।
How it works
Four suites, each targeting a different layer of the agent architecture from the setup session:
Ragas eval (50+ cases) targets: search_docs branch, answer quality
agent decision tests targets: the route() function, tool arguments
multi-turn tests targets: the whole graph, run over several turns
DSPy synthetic dataset targets: coverage breadth, generated not written
Giskard scan (max_scenarios) targets: every branch, for securityDSPy is a framework for programming language models with signatures and modules, and for optimizing a prompt or a pipeline against a metric Source 2সোর্স 2. Here we use a dspy.Predict signature to draft question/answer pairs from a knowledge source (the course calls this synthetic test data generation Source 4সোর্স 4). It is a different tool from Giskard's quality scan, which generates questions from your knowledge base Source 3সোর্স 3.
Multi-turn tests specifically exercise state that a single-question test cannot: does the agent remember an order id mentioned two turns ago, does a topic switch confuse the routing, does the conversation history grow correctly across an escalation.
সহজ English
Each suite targets a different layer of the agent from the setup session:
Ragas eval (50+ cases) targets: search_docs branch, answer quality
agent decision tests targets: the route() function, tool arguments
multi-turn tests targets: the whole graph, run over several turns
DSPy synthetic dataset targets: coverage breadth, generated not written
Giskard scan (max_scenarios) targets: every branch, for securityDSPy is a framework for programming language models with signatures and modules. It can also tune a prompt or a pipeline against a metric Source 2সোর্স 2. Here we use a dspy.Predict signature to draft question and answer pairs from a knowledge source. The course calls this synthetic test data generation Source 4সোর্স 4. This is a different tool from Giskard's quality scan, which builds questions from your knowledge base Source 3সোর্স 3.
Multi-turn tests check state that a single-question test cannot. Does the agent remember an order id from two turns ago? Does a topic switch confuse the routing? Does the conversation history grow correctly across an escalation?
বাংলা ব্যাখ্যা
চারটা suite, প্রতিটা setup session-এর agent architecture-এর একটা আলাদা layer লক্ষ্য করে:
Ragas eval (50+ cases) targets: search_docs branch, answer quality
agent decision tests targets: the route() function, tool arguments
multi-turn tests targets: the whole graph, run over several turns
DSPy synthetic dataset targets: coverage breadth, generated not written
Giskard scan (max_scenarios) targets: every branch, for securityDSPy হলো signature আর module দিয়ে language model প্রোগ্রাম করার একটা framework, আর একটা metric-এর বিরুদ্ধে prompt বা pipeline optimize করার জন্যও Source 2সোর্স 2। এখানে আমরা একটা dspy.Predict signature দিয়ে একটা knowledge source থেকে প্রশ্ন/উত্তর জোড়ার খসড়া বানাই (course একে synthetic test data generation বলে Source 4সোর্স 4)। এটা Giskard-এর quality scan থেকে আলাদা একটা tool, যে scan knowledge base থেকে প্রশ্ন generate করে Source 3সোর্স 3।
Multi-turn টেস্ট বিশেষভাবে এমন state পরীক্ষা করে যা একটা একক-প্রশ্ন টেস্ট পারে না: agent কি দুই turn আগে উল্লেখ করা একটা order id মনে রাখে, একটা topic switch কি routing-কে বিভ্রান্ত করে, একটা escalation জুড়ে কথোপকথনের ইতিহাস সঠিকভাবে বাড়ে কিনা।
In practice
A Ragas suite over 50 generated cases Source 1সোর্স 1:
import pytest
from openai import AsyncOpenAI
from ragas.embeddings.base import embedding_factory
from ragas.llms import llm_factory
from ragas.metrics.collections import AnswerRelevancy, ContextPrecision, ContextRecall, Faithfulness
client = AsyncOpenAI()
llm = llm_factory("gpt-4o-mini", client=client)
embeddings = embedding_factory("openai", model="text-embedding-3-small", client=client)
@pytest.mark.asyncio
async def test_the_rag_branch_meets_all_four_metrics(fifty_cases):
scorers = {
"faithfulness": Faithfulness(llm=llm),
"answer_relevancy": AnswerRelevancy(llm=llm, embeddings=embeddings),
"context_precision": ContextPrecision(llm=llm),
"context_recall": ContextRecall(llm=llm),
}
totals = dict.fromkeys(scorers, 0.0)
for case in fifty_cases: # each case has question, answer, contexts, reference
results = {
"faithfulness": await scorers["faithfulness"].ascore(
user_input=case.question, response=case.answer, retrieved_contexts=case.contexts),
"answer_relevancy": await scorers["answer_relevancy"].ascore(
user_input=case.question, response=case.answer),
"context_precision": await scorers["context_precision"].ascore(
user_input=case.question, reference=case.reference, retrieved_contexts=case.contexts),
"context_recall": await scorers["context_recall"].ascore(
user_input=case.question, retrieved_contexts=case.contexts, reference=case.reference),
}
for name, result in results.items():
totals[name] += result.value
for name, total in totals.items():
mean = total / len(fifty_cases)
assert mean >= 0.85, f"{name}: {mean:.2f}"A dataset drafted with DSPy, built from the knowledge base and a task signature Source 2সোর্স 2:
import dspy
class AnswerFromDocs(dspy.Signature):
"""Answer the question using only the given context."""
context: str = dspy.InputField()
question: str = dspy.InputField()
answer: str = dspy.OutputField()
dspy.configure(lm=dspy.LM("openai/gpt-4o-mini")) # needs OPENAI_API_KEY
generator = dspy.Predict(AnswerFromDocs)
synthetic_cases = [
{"question": q, "expected": generator(context=ctx, question=q).answer}
for ctx, q in sample_context_question_pairs(knowledge_base, n=100) # your own helper
]A multi-turn conversation test over the full agent graph. It assumes the stateful agent from the setup session, which keeps order_id and tool_calls in its state and routes a follow-up like "What is its status?" to check_order using the remembered id:
def test_the_agent_remembers_the_order_id_across_turns(agent):
state = agent.invoke({"question": "I have a problem with order #4821"})
state = agent.invoke({**state, "question": "What is its status?"})
assert "4821" in state["tool_calls"][-1]["arguments"]["order_id"]The Giskard scan, sized with max_scenarios to match the course's 40+ probe ask Source 3সোর্স 3 Source 4সোর্স 4:
from giskard.scan import vulnerability_scan
result = await vulnerability_scan(
target=support_agent, # async def support_agent(inputs: str) -> str
description="A support agent that searches docs, checks orders, and escalates.",
languages=["en"],
max_scenarios=40, # set explicitly; a low budget leaves some attack types untested
)
assert result.failed_count == 0, resultTutorial advice
This advice is the tutorial's own. It does not come from the sources.
- Run the DSPy-generated and the hand-written cases as separate suites, with separate pass thresholds, since the generated set's quality depends on the generator model.
- Write at least five deliberate multi-turn scenarios by hand; a generated dataset rarely covers multi-turn state well.
- Treat any failing Giskard scenario as a release blocker given the agent's tool-use surface, not just a note for later.
সহজ English
This Ragas suite scores 50 generated cases Source 1সোর্স 1. The test fails if the average of any of the four metrics is below 0.85.
import pytest
from openai import AsyncOpenAI
from ragas.embeddings.base import embedding_factory
from ragas.llms import llm_factory
from ragas.metrics.collections import AnswerRelevancy, ContextPrecision, ContextRecall, Faithfulness
client = AsyncOpenAI()
llm = llm_factory("gpt-4o-mini", client=client)
embeddings = embedding_factory("openai", model="text-embedding-3-small", client=client)
@pytest.mark.asyncio
async def test_the_rag_branch_meets_all_four_metrics(fifty_cases):
scorers = {
"faithfulness": Faithfulness(llm=llm),
"answer_relevancy": AnswerRelevancy(llm=llm, embeddings=embeddings),
"context_precision": ContextPrecision(llm=llm),
"context_recall": ContextRecall(llm=llm),
}
totals = dict.fromkeys(scorers, 0.0)
for case in fifty_cases: # each case has question, answer, contexts, reference
results = {
"faithfulness": await scorers["faithfulness"].ascore(
user_input=case.question, response=case.answer, retrieved_contexts=case.contexts),
"answer_relevancy": await scorers["answer_relevancy"].ascore(
user_input=case.question, response=case.answer),
"context_precision": await scorers["context_precision"].ascore(
user_input=case.question, reference=case.reference, retrieved_contexts=case.contexts),
"context_recall": await scorers["context_recall"].ascore(
user_input=case.question, retrieved_contexts=case.contexts, reference=case.reference),
}
for name, result in results.items():
totals[name] += result.value
for name, total in totals.items():
mean = total / len(fifty_cases)
assert mean >= 0.85, f"{name}: {mean:.2f}"Next, a dataset that DSPy generates from the knowledge base and a task signature Source 2সোর্স 2:
import dspy
class AnswerFromDocs(dspy.Signature):
"""Answer the question using only the given context."""
context: str = dspy.InputField()
question: str = dspy.InputField()
answer: str = dspy.OutputField()
dspy.configure(lm=dspy.LM("openai/gpt-4o-mini")) # needs OPENAI_API_KEY
generator = dspy.Predict(AnswerFromDocs)
synthetic_cases = [
{"question": q, "expected": generator(context=ctx, question=q).answer}
for ctx, q in sample_context_question_pairs(knowledge_base, n=100) # your own helper
]This is a multi-turn test over the full agent graph. It checks that the agent remembers the order id on the second turn. It assumes the stateful agent from the setup session, which keeps order_id and tool_calls in its state:
def test_the_agent_remembers_the_order_id_across_turns(agent):
state = agent.invoke({"question": "I have a problem with order #4821"})
state = agent.invoke({**state, "question": "What is its status?"})
assert "4821" in state["tool_calls"][-1]["arguments"]["order_id"]Last, the Giskard scan, sized with max_scenarios to match the course's 40+ probe ask Source 3সোর্স 3 Source 4সোর্স 4:
from giskard.scan import vulnerability_scan
result = await vulnerability_scan(
target=support_agent, # async def support_agent(inputs: str) -> str
description="A support agent that searches docs, checks orders, and escalates.",
languages=["en"],
max_scenarios=40, # set explicitly; a low budget leaves some attack types untested
)
assert result.failed_count == 0, resultTutorial advice. This advice is the tutorial's own. It does not come from the sources.
- Run the DSPy-generated cases and the hand-written cases as separate suites. Give each its own pass threshold. The generated set's quality depends on the generator model.
- Write at least five multi-turn scenarios by hand. A generated dataset rarely covers multi-turn state well.
- Treat any failing Giskard scenario as a release blocker. The agent uses tools, so its attack surface is wide. Do not leave it as a note for later.
বাংলা ব্যাখ্যা
৫০টা generated কেসের ওপর একটা Ragas suite Source 1সোর্স 1:
import pytest
from openai import AsyncOpenAI
from ragas.embeddings.base import embedding_factory
from ragas.llms import llm_factory
from ragas.metrics.collections import AnswerRelevancy, ContextPrecision, ContextRecall, Faithfulness
client = AsyncOpenAI()
llm = llm_factory("gpt-4o-mini", client=client)
embeddings = embedding_factory("openai", model="text-embedding-3-small", client=client)
@pytest.mark.asyncio
async def test_the_rag_branch_meets_all_four_metrics(fifty_cases):
scorers = {
"faithfulness": Faithfulness(llm=llm),
"answer_relevancy": AnswerRelevancy(llm=llm, embeddings=embeddings),
"context_precision": ContextPrecision(llm=llm),
"context_recall": ContextRecall(llm=llm),
}
totals = dict.fromkeys(scorers, 0.0)
for case in fifty_cases: # each case has question, answer, contexts, reference
results = {
"faithfulness": await scorers["faithfulness"].ascore(
user_input=case.question, response=case.answer, retrieved_contexts=case.contexts),
"answer_relevancy": await scorers["answer_relevancy"].ascore(
user_input=case.question, response=case.answer),
"context_precision": await scorers["context_precision"].ascore(
user_input=case.question, reference=case.reference, retrieved_contexts=case.contexts),
"context_recall": await scorers["context_recall"].ascore(
user_input=case.question, retrieved_contexts=case.contexts, reference=case.reference),
}
for name, result in results.items():
totals[name] += result.value
for name, total in totals.items():
mean = total / len(fifty_cases)
assert mean >= 0.85, f"{name}: {mean:.2f}"knowledge base আর একটা task signature থেকে বানানো একটা DSPy-generated dataset Source 2সোর্স 2:
import dspy
class AnswerFromDocs(dspy.Signature):
"""Answer the question using only the given context."""
context: str = dspy.InputField()
question: str = dspy.InputField()
answer: str = dspy.OutputField()
dspy.configure(lm=dspy.LM("openai/gpt-4o-mini")) # needs OPENAI_API_KEY
generator = dspy.Predict(AnswerFromDocs)
synthetic_cases = [
{"question": q, "expected": generator(context=ctx, question=q).answer}
for ctx, q in sample_context_question_pairs(knowledge_base, n=100) # your own helper
]পূর্ণ agent graph-এর ওপর একটা multi-turn কথোপকথন টেস্ট। এটা setup session-এর stateful agent ধরে নেয়, যা state-এ order_id আর tool_calls রাখে এবং "What is its status?"-এর মতো follow-up-কে মনে রাখা id দিয়ে check_order-এ route করে:
def test_the_agent_remembers_the_order_id_across_turns(agent):
state = agent.invoke({"question": "I have a problem with order #4821"})
state = agent.invoke({**state, "question": "What is its status?"})
assert "4821" in state["tool_calls"][-1]["arguments"]["order_id"]Course-এর ৪০+ probe চাওয়ার সাথে মিলিয়ে max_scenarios দিয়ে আকার ঠিক করা Giskard scan Source 3সোর্স 3 Source 4সোর্স 4:
from giskard.scan import vulnerability_scan
result = await vulnerability_scan(
target=support_agent, # async def support_agent(inputs: str) -> str
description="A support agent that searches docs, checks orders, and escalates.",
languages=["en"],
max_scenarios=40, # set explicitly; a low budget leaves some attack types untested
)
assert result.failed_count == 0, resultTutorial advice
এই পরামর্শ টিউটোরিয়ালের নিজস্ব। এটি সোর্স থেকে আসেনি।
- DSPy-generated আর হাতে-লেখা কেস আলাদা suite হিসেবে চালান, আলাদা pass threshold সহ, কারণ generated সেটের মান generator model-এর ওপর নির্ভর করে।
- অন্তত পাঁচটা ইচ্ছাকৃত multi-turn দৃশ্য হাতে লিখুন; একটা generated dataset খুব কমই multi-turn state ভালোভাবে কভার করে।
- agent-এর tool-use surface দেখে যেকোনো ব্যর্থ Giskard scenario-কে একটা release blocker হিসেবে দেখুন, শুধু পরের জন্য একটা নোট নয়।
Common mistakes
Mistake 1: treating the generated dataset's pass rate as equal to the hand-written one's. A generated case is only as good as the generator model that produced it; verify a sample by hand before trusting the whole set Source 2সোর্স 2.
Mistake 2: no multi-turn cases at all. A suite of only single-question tests cannot find a bug that only appears on the second or third turn.
Mistake 3: running the Giskard scan with a low max_scenarios budget to save time. Giskard warns that a low budget is spread thin, so some attack types get no scenarios and go untested Source 3সোর্স 3. The course asks for 40+ probes Source 4সোর্স 4.
Mistake 4: scoring all four Ragas metrics as one average. A high faithfulness score hiding a low context recall score means the right answer is reached from the wrong retrieval some of the time Source 1সোর্স 1.
Mistake 5: no stricter bar on red team findings for this specific app. An agent that can act needs a stricter bar on excessive-agency findings than a read-only chatbot does.
সহজ English
Mistake 1: trusting generated cases as much as hand-written ones. A generated case is only as good as the generator model that made it. Check a sample by hand before you trust the whole set Source 2সোর্স 2.
Mistake 2: no multi-turn cases at all. A suite of only single-question tests cannot find a bug that shows up only on the second or third turn.
Mistake 3: running the Giskard scan with a low max_scenarios budget to save time. Giskard warns that a low budget is spread thin, so some attack types get no scenarios and go untested Source 3সোর্স 3. The course asks for 40+ probes Source 4সোর্স 4.
Mistake 4: averaging all four Ragas metrics into one score. A high faithfulness score can hide a low context recall score. That means the agent sometimes reaches the right answer from the wrong retrieval Source 1সোর্স 1.
Mistake 5: no stricter bar for red team findings in this app. An agent that can act needs a stricter bar on excessive-agency findings than a read-only chatbot does.
বাংলা ব্যাখ্যা
ভুল ১: generated dataset-এর pass rate-কে হাতে-লেখারটার সমান ভাবা। একটা generated কেস যতটা ভালো তার generator model যতটা ভালো; পুরো সেট বিশ্বাস করার আগে হাতে একটা নমুনা যাচাই করুন Source 2সোর্স 2।
ভুল ২: একদমই কোনো multi-turn কেস নেই। শুধু একক-প্রশ্ন টেস্টের একটা suite এমন একটা বাগ খুঁজে পেতে পারে না যা শুধু দ্বিতীয় বা তৃতীয় turn-এ দেখা যায়।
ভুল ৩: সময় বাঁচাতে কম max_scenarios budget দিয়ে Giskard scan চালানো। Giskard সতর্ক করে যে কম budget পাতলা করে ছড়িয়ে যায়, ফলে কিছু attack type কোনো scenario পায় না আর untested থেকে যায় Source 3সোর্স 3। Course ৪০+ probe চায় Source 4সোর্স 4।
ভুল ৪: চারটা Ragas metric-ই একটা average হিসেবে score করা। একটা কম context recall score লুকিয়ে রাখা একটা উচ্চ faithfulness score মানে সঠিক উত্তর কিছু সময় ভুল retrieval থেকে পৌঁছায় Source 1সোর্স 1।
ভুল ৫: এই নির্দিষ্ট app-এর জন্য red team finding-এ কোনো কঠোরতর মান নেই। একটা agent যে কাজ করতে পারে তার excessive-agency finding-এ একটা read-only chatbot-এর চেয়ে কঠোরতর মান দরকার।
What a tester can check
Tutorial advice
This advice is the tutorial's own. It does not come from the sources.
- Run the DSPy-generated and hand-written suites separately, and spot-check a sample of the generated set by hand.
- Keep a dedicated multi-turn test file with at least five scenarios, reviewed, not generated.
- Set
max_scenariosto 40 or more, and record how many scenarios actually ran, before calling this session done. - Report all four Ragas metrics separately, never collapsed into one average.
সহজ English
Tutorial advice
This advice is the tutorial's own. It does not come from the sources.
- Run the DSPy-generated and hand-written suites separately, and spot-check a sample of the generated set by hand.
- Keep a dedicated multi-turn test file with at least five scenarios, reviewed, not generated.
- Set
max_scenariosto 40 or more, and record how many scenarios actually ran, before calling this session done. - Report all four Ragas metrics separately, never collapsed into one average.
বাংলা ব্যাখ্যা
Tutorial advice
এই পরামর্শ টিউটোরিয়ালের নিজস্ব। এটি সোর্স থেকে আসেনি।
- DSPy-generated আর হাতে-লেখা suite আলাদাভাবে চালান, আর generated সেটের একটা নমুনা হাতে spot-check করুন।
- অন্তত পাঁচটা দৃশ্য সহ একটা dedicated multi-turn test ফাইল রাখুন, review করা, generate করা নয়।
- এই session শেষ বলার আগে
max_scenarios৪০ বা তার বেশি সেট করুন, আর আসলে কয়টা scenario চলেছে তা লিখে রাখুন। - চারটা Ragas metric আলাদাভাবে রিপোর্ট করুন, কখনো একটা average-এ ভেঙে ফেলবেন না।
Key words
| Word | What it means |
|---|---|
| Four-metric Ragas suite | Scoring faithfulness, answer (response) relevancy, context precision, and context recall separately |
| DSPy synthetic dataset | Question/answer pairs generated programmatically from a knowledge source and a task signature |
| Multi-turn test | A test exercising agent state across more than one conversational turn |
| Probe count | The number of distinct automated attack checks a security scan runs |