← スキル一覧に戻る

diagnosis
by mathias-nielsen
This is a repository related to my course at DTU, and the exam project on course 38113: Containing drafts for Anthropic skills supporting the Co-Doctor Startup idea
⭐ 0🍴 0📅 2025年12月6日
SKILL.md
name: Diagnosis. description: An important skill, to help agents assist doctors with diagnosising patients.
Diagnosis tasks
Extrapolate symptoms
This action can extrapolate and gather symptoms from natural language input
from langchain.chat_models import init_chat_model
from entities import DetectionEntity, SymptomsOutputState
def extrapolate_symptoms(text: str, score: float = 0.95): -> SymptomsOutputState
# Documentation: https://docs.aws.amazon.com/comprehend-medical/latest/dev/gettingstarted-api.html
model = init_chat_model("aws.comprehendmedical.detect-entities-v2");
response = model.invoke(text);
high_confidence = []
low_confidence = []
for entity in response:
if entity.score >= score:
high_confidence.append(entity)
else:
low_confidence.append(entity)
return SymptomsOutputState(
high_confidence=high_confidence,
confidence_below_treshold=low_confidence
)
Find potential diagnosis
This action will find potential diagnosis, based on common external resources
def find_potential_diagnose(symptoms):
""" This function will return 1 or more diagnosis, based on array of symptoms """
# Mock Code
# ...
Suggest Next Steps
In case a diagnosis is inconclusive, but more tests is needed, this task will find the best next step to in the diagnosis
def find_next_steps(symptoms, diagnosis):
# Mock Code
# ...
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です