Skip to content

Llama Module

Overview

The Llama module provides document parsing and processing capabilities using the Llama Parse API. It handles document extraction, analysis, and integration with other modules.

Module Structure

llama/
├── llama.module.ts         # Module definition and configuration
└── llama-parse.service.ts  # Service for Llama Parse API operations

Key Components

LlamaModule

The root module that configures dependencies for Llama operations:

  • Imports: ConfigModule, RagModule, VectorstoreModule, LangchainModule
  • Providers: LlamaParseService
  • Exports: LlamaParseService

LlamaParseService

Provides document parsing and processing capabilities: - Document content extraction - Text analysis and processing - Integration with RAG and vector storage - Document structure analysis