LLM Index Text
A system task designed to index the provided text into a vector space for efficient search, retrieval, and processing at a later stage.
Definitions
{
"name": "llm_index_text_task",
"taskReferenceName": "llm_index_text_task_ref",
"inputParameters": {
"vectorDB": "pineconedb",
"namespace": "myNewModel",
"index": "test",
"embeddingModelProvider": "azure_openai",
"embeddingModel": "text-davinci-003",
"text": "${workflow.input.text}",
"docId": "XXXX"
},
"type": "LLM_INDEX_TEXT"
}
Input Parameters
Parameter | Description |
---|---|
vectorDB | Choose the required vector database. Note:If you haven’t configured the vector database on your Orkes console, navigate to the Integrations tab and configure your required provider. Refer to the documentation on how to integrate Vector Databases with Orkes console.. |
namespace | Choose from the available namespace configured within the chosen vector database. Namespaces are separate isolated environments within the database to manage and organize vector data effectively. Note: The namespace field has different names and applicability based on the integration:
|
index | Choose the index in your vector database where indexed text or data was stored. Note: For Weaviate integration, this field refers to the class name, while for other integrations, it denotes the index name. |
embeddingModelProvider | Choose the required LLM provider for embedding. If you haven’t configured your AI / LLM provider on your Orkes console, navigate to the Integrations tab and configure your required provider. Refer to the documentation on how to integrate the LLM providers with Orkes console. |
embeddingModel | Choose from the available language models provided by the selected LLM provider. |
text | Provide the text to be indexed. |
docId | Assign a unique ID to identify the document where the indexed text will be stored. |
Examples
- UI
- JSON
- Add task type LLM Index Text.
- Choose the vector database, & LLM provider for embedding the text.
- Provide the input parameters.
{
"name": "llm_index_text_task",
"taskReferenceName": "llm_index_text_task_ref",
"inputParameters": {
"vectorDB": "pineconedb",
"namespace": "myNewModel",
"index": "test",
"embeddingModelProvider": "azure_openai",
"embeddingModel": "text-davinci-003",
"text": "${workflow.input.text}",
"docId": "XXXX"
},
"type": "LLM_INDEX_TEXT"
}