TDTech Digest

046. 모델 호출에 추론 프로필 사용 (Use an inference profile in model invocation)

  • 원문: English
  • 위치: Capacity and Performance › Inference profiles › Use an inference profile in model invocation

한 줄 요약

모델 ID 자리에 추론 프로필 ARN을 넣으면 됩니다. 교차 리전 프로필은 여러 리전으로 라우팅하고, 애플리케이션 프로필은 비용·사용량을 추적합니다.

쉽게 말하면

추론 프로필은 “모델 ID 대용품"입니다. 프로필에 포함된 어느 리전에서든 호출할 수 있습니다.

핵심 내용

콘솔

  • 예: Chat / Text playground → Select model → 모델 선택 → Inference 드롭다운에서 Inference profiles → 프로필 선택 → Apply

지원 API와 지정 필드

API용도필드
InvokeModel, InvokeModelWithResponseStream단일 프롬프트 추론modelId
Converse, ConverseStream대화형 추론modelId
RetrieveAndGenerateKnowledge Base 응답 생성modelArn
CreateEvaluationJob모델 평가modelIdentifier
CreatePromptPrompt managementmodelId
CreateFlowFlow의 prompt 노드 인라인 프롬프트modelId
CreateDataSourceKB 데이터 소스의 비텍스트 파싱modelArn
  • 📝 교차 리전(시스템 정의) 프로필은 ARN 또는 ID 둘 다 쓸 수 있습니다. (애플리케이션 프로필은 ARN을 지정)

관련: 012-conversation-inference

SA 관점

  • Knowledge Bases, Flows, Prompt management, 평가 작업까지 프로필을 지원하므로 RAG 파이프라인 전체를 교차 리전 프로필로 통일해 처리량을 확보할 수 있습니다.
  • 모델 ID를 하드코딩하지 말고 설정값으로 빼 두면, 단일 리전 → 교차 리전 → 애플리케이션 프로필 전환이 쉬워집니다.