PromptLLM

PromptLLM

사용자 정의 프롬프트를 대규모 언어 모델(LLM)에 보내 응답을 받는 프로세서예요.

출처: Snowflake 문서 — PromptLLM

본문

번들 (Bundle)

com.snowflake.openflow.runtime | runtime-llm-processors-nar

설명

이 프로세서는 사용자가 정의한 프롬프트를 대규모 언어 모델(LLM)에 보내 응답을 받아요.

태그

ai, llm, openflow, prompt, text processing

입력 요구 사항 (Input Requirement)

REQUIRED — 입력 FlowFile이 필요해요.

민감한 동적 속성 지원 (Supports Sensitive Dynamic Properties)

false — 지원하지 않아요.

속성 (Properties)

속성 설명
Assistant Message LLM에 보낼 assistant 메시지예요. FlowFile 속성은 Expression Language로, FlowFile 내용은 flowfile_content 변수로 참조할 수 있어요(예: ${flowfile_content}). assistant 메시지는 마지막에 추가돼요.
LLM Provider Service LLM에 평가 프롬프트를 보내기 위한 프로바이더 서비스예요.
Output Strategy 응답 출력 위치를 결정해요.
Results Attribute 응답을 쓸 속성의 이름이에요.
System Message LLM에 보낼 시스템 메시지예요. FlowFile 속성은 Expression Language로, FlowFile 내용은 flowfile_content 변수로 참조할 수 있어요(예: ${flowfile_content}). 시스템 메시지는 먼저 추가돼요.
User Message LLM에 보낼 사용자 메시지예요. FlowFile 속성은 Expression Language로, FlowFile 내용은 flowfile_content 변수로 참조할 수 있어요(예: ${flowfile_content}).

관계 (Relationships)

이름 설명
failure 처리할 수 없는 FlowFile이 이 관계로 라우팅돼요.
success 성공적으로 처리된 FlowFile이 이 관계로 라우팅돼요.

더 알아보기 (Learn more)