feat(core): APP use new SDK component (#1050)

This commit is contained in:
Fangyin Cheng
2024-01-10 10:39:04 +08:00
committed by GitHub
parent e11b72c724
commit fa8b5b190c
242 changed files with 2768 additions and 2163 deletions

View File

@@ -6,9 +6,10 @@ We have integrated fastchat. For details, see: dbgpt/model/model_adapter.py
# -*- coding: utf-8 -*-
from functools import cache
from typing import List, Dict, Tuple
from dbgpt.model.conversation import Conversation, get_conv_template
from typing import Dict, List, Tuple
from dbgpt.core.interface.message import ModelMessage, ModelMessageRoleType
from dbgpt.model.conversation import Conversation, get_conv_template
class BaseChatAdpter: