vllm (haechi) 추가
This commit is contained in:
1 parent
310b85bf36
commit
e32f8ef533
13 files changed
+119
-14
No files matched your search
@@ -18,8 +18,7 @@ from models.context import (
|
||||
ReasonDraft,
|
||||
render_claims,
|
||||
)
|
||||
from settings import settings
|
||||
from utils.common_llm import StructuredLLM
|
||||
from utils.common_llm import create_llm
|
||||
|
||||
CLASSIFY_PROMPT = """너는 독서토론의 최신 발화들이 어떤 주장에 해당하는지 구분한다.
|
||||
|
||||
@@ -44,7 +43,7 @@ SUMMARY_PROMPT = """너는 독서토론의 맥락을 요약한다.
|
||||
- 어떤 쟁점이 오갔고 누가 어떤 입장인지 드러나게 쓴다.
|
||||
- 신규/갱신 주장을 반영한다."""
|
||||
|
||||
context_llm = StructuredLLM(settings.llm_model, settings.chatgpt_api_key)
|
||||
context_llm = create_llm()
|
||||
|
||||
|
||||
def _render_turns(turns: list[DiscussionTurn]) -> str:
|
||||
|
||||
Reference in new issue
Block a user