We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5573e2 commit de80a02Copy full SHA for de80a02
2 files changed
src/kili/llm/services/export/dynamic.py
@@ -4,7 +4,6 @@
4
from typing import Dict, List, Union
5
6
from kili.adapters.kili_api_gateway.kili_api_gateway import KiliAPIGateway
7
-from kili.domain.asset.asset import AssetFilters
8
9
CHAT_ITEMS_NEEDED_FIELDS = [
10
"id",
src/kili/services/export/format/llm/__init__.py
@@ -263,10 +263,7 @@ def _format_raw_data(
263
"id": _safe_pop(chat_items_ids),
264
"chat_id": chat_id,
265
"model": models[index_completion]
266
- if (
267
- (index == len(prompts) - 1 or all_model_keys)
268
- and len(models) > index_completion
269
- )
+ if (index == len(prompts) - 1 or all_model_keys)
270
else None,
271
}
272
)
0 commit comments