Skip to content

Commit

Permalink
fix(LAB-3307): take latest label
Browse files Browse the repository at this point in the history
  • Loading branch information
paulruelle committed Jan 13, 2025
1 parent de8fa1b commit 4f9fe62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kili/llm/services/export/dynamic.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def export(self, assets: List[Dict], json_interface: Dict) -> List[Dict]:
return export_result

def format_asset(self, asset: Dict, json_interface: Dict) -> Conversation:
label = asset["labels"][0]
label = asset["labels"][-1]
chat_items = [
{
"id": chat_item["id"],
Expand Down

0 comments on commit 4f9fe62

Please sign in to comment.