Generates an embedding for each page of the given document
llm-embeddings-model
Version: 1.0.0
Infer: Yes
Option | Description |
---|---|
model | The AI model to use for generating embeddings (default: “amazon.titan-embed-text-v1”) |
node_type | The document component level to embed (page, content-area, or line) |
use_summarization | When enabled, summarizes page content before embedding (page level only) |
summarization_prompt | Custom prompt for the AI to generate summaries (used when summarization is enabled) |
summarization_model | Language model to use for generating summaries |
Name | Label | Type | Description | Default | Required |
---|---|---|---|---|---|
model | Model | cloudEmbedding | The model to use for the embeddings | amazon.titan-embed-text-v1 | No |
node_type | Node Type | string | The node type to use for the embeddings | content-area | No |
use_summarization | Use Summarization | boolean | Should we use summarization to generate the embeddings at the page level | False | No |
summarization_prompt | Summarization Prompt | string | The model to use to build a summary of each page of the document | can you summarize this text into one sentence: | No |
summarization_model | Model | cloudModel | The model to use to build a summary of each page of the document | anthropic.claude-3-5-sonnet-20240620-v1:0 | No |