Skip to content

Commit

Permalink
perf: code style
Browse files Browse the repository at this point in the history
  • Loading branch information
junewgl committed Dec 28, 2023
1 parent 1ef191b commit 4242f3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dbgpt_hub/data_process/sql_data_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@
INSTRUCTION_ONE_SHOT_PROMPT,
)


class ProcessSqlData:
def __init__(self, train_file=None, dev_file=None, num_shot=0) -> None:
self.train_file = train_file
self.dev_file = dev_file
self.num_shot = num_shot

def decode_json_file(
self, data_file_list, table_file, db_id_name, is_multiple_turn=False
):
Expand Down

0 comments on commit 4242f3a

Please sign in to comment.