Skip to content

Commit 07359f3

Browse files
committed
fix unused imports
1 parent c1e0ad4 commit 07359f3

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

kag/common/conf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@
1515
import yaml
1616
import json
1717
import pprint
18-
import threading
1918
from jinja2 import Template
2019
from pathlib import Path
21-
from typing import Union, Optional, Dict
20+
from typing import Union, Optional
2221

2322
import knext.common.cache
2423
from knext.project.client import ProjectClient

kag/common/tools/algorithm_tool/chunk_retriever/summary_chunk_retriever.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
# Unless required by applicable law or agreed to in writing, software distributed under the License
1010
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
1111
# or implied.
12-
import asyncio
1312
from typing import List
1413

1514
import knext.common.cache

kag/open_benchmark/musique/src/eval.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
import time
55
from typing import List
66

7-
from kag.common.utils import processing_phrases
87
from kag.interface import LLMClient
9-
from kag.common.registry import Functor, import_modules_from_path
8+
from kag.common.registry import Functor
109
from kag.common.benchmarks.evaluate import Evaluate
1110
from kag.examples.utils import delay_run
1211
from kag.open_benchmark.utils.eval_qa import EvalQa, running_paras, do_main

0 commit comments

Comments
 (0)