사용 중단된 용어

사용 중단된 용어 (Deprecated Terms)

LlamaIndex가 계속 발전하면서 많은 클래스 이름과 API가 조정되고 개선되다가 사용 중단(deprecated)됐어요. 이 페이지는 예전에 널리 쓰였지만 지금은 사용이 중단된 용어와, 그걸 대체할 항목을 정리한 목록이에요.

출처: 문서

본문

LlamaIndex가 계속 발전하면서 많은 클래스 이름과 API가 조정되고, 개선되고, 사용 중단되었어요.

아래는 예전에 널리 쓰였지만 사용이 중단된 용어 목록과, 각각을 대체할 항목 링크예요.

GPTSimpleVectorIndex

VectorStoreIndex로 이름이 바뀌었고, 모든 벡터 인덱스가 하나의 통일된 인터페이스로 합쳐졌어요. 내부의 vector_store를 바꾸면 다양한 벡터 데이터베이스와 연동할 수 있어요.

GPTVectorStoreIndex

VectorStoreIndex로 이름이 바뀌었어요. 이건 표기상의 변경일 뿐이에요.

LLMPredictor

LLMPredictor 객체는 더 이상 사용자가 직접 쓸 의도가 아니에요. 대신 LLM을 직접 설정해서 Settings나 해당 인터페이스에 넘기면 돼요. LLM 클래스 자체는 LLMPredictor와 비슷한 속성과 메서드를 갖고 있어요.

PromptHelper와 max_input_size

프롬프트 헬퍼의 max_input_size 파라미터는 그 이후에 context_window로 대체됐어요.

PromptHelper 자체는 전반적으로 사용이 중단되었고, 파라미터를 service_context와 node_parser에 직접 지정하는 방식으로 바뀌었어요.

ServiceContext

ServiceContext 객체는 Settings 객체로 대체되어 사용이 중단되었어요.

llama-index-legacy

llama-index-legacy 패키지는 사용이 중단되었고 저장소에서 제거되었어요. 최신 정보와 사용법은 최신 getting started 가이드를 참고하세요.

AgentRunner/AgentWorker (및 관련 클래스)

AgentRunner와 AgentWorker 클래스는 AgentWorkflow와 Workflows로 대체되어 사용이 중단되었어요.

사용이 중단된 클래스는 다음과 같아요:

  • AgentRunner
  • FunctionCallingAgent
  • FunctionCallingAgentWorker
  • llama_index.core.agent.ReActAgent (대신 llama_index.core.agent.workflow.ReActAgent 사용)
  • ReActAgentWorker
  • LATSAgentWorker
  • CoAAgentWorker
  • FnAgentWorker
  • QueryPipelineAgentWorker
  • MultiModalReActAgentWorker
  • IntrospectiveAgentWorker
  • SelfReflectiveAgentWorker
  • ToolInteractiveReflectionAgentWorker
  • LLMCompilerAgentWorker
  • QueryUnderstandAgentWorker

QueryPipeline (및 관련 클래스)

QueryPipeline은 Workflows로 대체되어 사용이 중단되었어요.

사용이 중단된 클래스는 다음과 같아요:

  • AgentFnComponent
  • AgentInputComponent
  • BaseAgentComponent
  • CustomAgentComponent
  • ArgPackComponent
  • FnComponent
  • FunctionComponent
  • InputComponent
  • RouterComponent
  • SelectorComponent
  • ToolRunnerComponent
  • StatefulFnComponent
  • LoopComponent
  • 기타 등등