Skip to content

Commit de80a02

Browse files
FannyGaudinbaptiste-olivier
authored andcommitted
feat(LAB-3105): add param for new llm.export path
1 parent d5573e2 commit de80a02

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

src/kili/llm/services/export/dynamic.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from typing import Dict, List, Union
55

66
from kili.adapters.kili_api_gateway.kili_api_gateway import KiliAPIGateway
7-
from kili.domain.asset.asset import AssetFilters
87

98
CHAT_ITEMS_NEEDED_FIELDS = [
109
"id",

src/kili/services/export/format/llm/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,10 +263,7 @@ def _format_raw_data(
263263
"id": _safe_pop(chat_items_ids),
264264
"chat_id": chat_id,
265265
"model": models[index_completion]
266-
if (
267-
(index == len(prompts) - 1 or all_model_keys)
268-
and len(models) > index_completion
269-
)
266+
if (index == len(prompts) - 1 or all_model_keys)
270267
else None,
271268
}
272269
)

0 commit comments

Comments
 (0)