mirror of
https://github.com/FlowiseAI/Flowise.git
synced 2026-10-12 02:02:17 +00:00
+4
@@ -16,6 +16,8 @@ class AnthropicAgent_LlamaIndex_Agents implements INode {
|
||||
tags: string[]
|
||||
inputs: INodeParams[]
|
||||
sessionId?: string
|
||||
badge: string
|
||||
deprecateMessage: string
|
||||
|
||||
constructor(fields?: { sessionId?: string }) {
|
||||
this.label = 'Anthropic Agent'
|
||||
@@ -27,6 +29,8 @@ class AnthropicAgent_LlamaIndex_Agents implements INode {
|
||||
this.description = `Agent that uses Anthropic Claude Function Calling to pick the tools and args to call using LlamaIndex`
|
||||
this.baseClasses = [this.type, ...getBaseClasses(AnthropicAgent)]
|
||||
this.tags = ['LlamaIndex']
|
||||
this.badge = 'DEPRECATING'
|
||||
this.deprecateMessage = 'LlamaIndex integration is deprecated and will be removed in a future release.'
|
||||
this.inputs = [
|
||||
{
|
||||
label: 'Tools',
|
||||
|
||||
+4
@@ -25,6 +25,8 @@ class OpenAIFunctionAgent_LlamaIndex_Agents implements INode {
|
||||
tags: string[]
|
||||
inputs: INodeParams[]
|
||||
sessionId?: string
|
||||
badge: string
|
||||
deprecateMessage: string
|
||||
|
||||
constructor(fields?: { sessionId?: string }) {
|
||||
this.label = 'OpenAI Tool Agent'
|
||||
@@ -36,6 +38,8 @@ class OpenAIFunctionAgent_LlamaIndex_Agents implements INode {
|
||||
this.description = `Agent that uses OpenAI Function Calling to pick the tools and args to call using LlamaIndex`
|
||||
this.baseClasses = [this.type, ...getBaseClasses(OpenAIAgent)]
|
||||
this.tags = ['LlamaIndex']
|
||||
this.badge = 'DEPRECATING'
|
||||
this.deprecateMessage = 'LlamaIndex integration is deprecated and will be removed in a future release.'
|
||||
this.inputs = [
|
||||
{
|
||||
label: 'Tools',
|
||||
|
||||
@@ -44,6 +44,8 @@ class AzureChatOpenAI_LlamaIndex_ChatModels implements INode {
|
||||
tags: string[]
|
||||
credential: INodeParams
|
||||
inputs: INodeParams[]
|
||||
badge: string
|
||||
deprecateMessage: string
|
||||
|
||||
constructor() {
|
||||
this.label = 'AzureChatOpenAI'
|
||||
@@ -55,6 +57,8 @@ class AzureChatOpenAI_LlamaIndex_ChatModels implements INode {
|
||||
this.description = 'Wrapper around Azure OpenAI Chat LLM specific for LlamaIndex'
|
||||
this.baseClasses = [this.type, 'BaseChatModel_LlamaIndex', ...getBaseClasses(OpenAI)]
|
||||
this.tags = ['LlamaIndex']
|
||||
this.badge = 'DEPRECATING'
|
||||
this.deprecateMessage = 'LlamaIndex integration is deprecated and will be removed in a future release.'
|
||||
this.credential = {
|
||||
label: 'Connect Credential',
|
||||
name: 'credential',
|
||||
|
||||
@@ -15,6 +15,8 @@ class ChatAnthropic_LlamaIndex_ChatModels implements INode {
|
||||
baseClasses: string[]
|
||||
credential: INodeParams
|
||||
inputs: INodeParams[]
|
||||
badge: string
|
||||
deprecateMessage: string
|
||||
|
||||
constructor() {
|
||||
this.label = 'ChatAnthropic'
|
||||
@@ -26,6 +28,8 @@ class ChatAnthropic_LlamaIndex_ChatModels implements INode {
|
||||
this.description = 'Wrapper around ChatAnthropic LLM specific for LlamaIndex'
|
||||
this.baseClasses = [this.type, 'BaseChatModel_LlamaIndex', ...getBaseClasses(Anthropic)]
|
||||
this.tags = ['LlamaIndex']
|
||||
this.badge = 'DEPRECATING'
|
||||
this.deprecateMessage = 'LlamaIndex integration is deprecated and will be removed in a future release.'
|
||||
this.credential = {
|
||||
label: 'Connect Credential',
|
||||
name: 'credential',
|
||||
|
||||
@@ -15,6 +15,8 @@ class ChatMistral_LlamaIndex_ChatModels implements INode {
|
||||
baseClasses: string[]
|
||||
credential: INodeParams
|
||||
inputs: INodeParams[]
|
||||
badge: string
|
||||
deprecateMessage: string
|
||||
|
||||
constructor() {
|
||||
this.label = 'ChatMistral'
|
||||
@@ -26,6 +28,8 @@ class ChatMistral_LlamaIndex_ChatModels implements INode {
|
||||
this.description = 'Wrapper around ChatMistral LLM specific for LlamaIndex'
|
||||
this.baseClasses = [this.type, 'BaseChatModel_LlamaIndex', ...getBaseClasses(MistralAI)]
|
||||
this.tags = ['LlamaIndex']
|
||||
this.badge = 'DEPRECATING'
|
||||
this.deprecateMessage = 'LlamaIndex integration is deprecated and will be removed in a future release.'
|
||||
this.credential = {
|
||||
label: 'Connect Credential',
|
||||
name: 'credential',
|
||||
|
||||
@@ -13,6 +13,8 @@ class ChatOllama_LlamaIndex_ChatModels implements INode {
|
||||
tags: string[]
|
||||
baseClasses: string[]
|
||||
inputs: INodeParams[]
|
||||
badge: string
|
||||
deprecateMessage: string
|
||||
|
||||
constructor() {
|
||||
this.label = 'ChatOllama'
|
||||
@@ -24,6 +26,8 @@ class ChatOllama_LlamaIndex_ChatModels implements INode {
|
||||
this.description = 'Wrapper around ChatOllama LLM specific for LlamaIndex'
|
||||
this.baseClasses = [this.type, 'BaseChatModel_LlamaIndex', ...getBaseClasses(Ollama)]
|
||||
this.tags = ['LlamaIndex']
|
||||
this.badge = 'DEPRECATING'
|
||||
this.deprecateMessage = 'LlamaIndex integration is deprecated and will be removed in a future release.'
|
||||
this.inputs = [
|
||||
{
|
||||
label: 'Base URL',
|
||||
|
||||
@@ -15,6 +15,8 @@ class ChatOpenAI_LlamaIndex_LLMs implements INode {
|
||||
tags: string[]
|
||||
credential: INodeParams
|
||||
inputs: INodeParams[]
|
||||
badge: string
|
||||
deprecateMessage: string
|
||||
|
||||
constructor() {
|
||||
this.label = 'ChatOpenAI'
|
||||
@@ -26,6 +28,8 @@ class ChatOpenAI_LlamaIndex_LLMs implements INode {
|
||||
this.description = 'Wrapper around OpenAI Chat LLM specific for LlamaIndex'
|
||||
this.baseClasses = [this.type, 'BaseChatModel_LlamaIndex', ...getBaseClasses(OpenAI)]
|
||||
this.tags = ['LlamaIndex']
|
||||
this.badge = 'DEPRECATING'
|
||||
this.deprecateMessage = 'LlamaIndex integration is deprecated and will be removed in a future release.'
|
||||
this.credential = {
|
||||
label: 'Connect Credential',
|
||||
name: 'credential',
|
||||
|
||||
@@ -14,6 +14,8 @@ class ChatTogetherAI_LlamaIndex_ChatModels implements INode {
|
||||
baseClasses: string[]
|
||||
credential: INodeParams
|
||||
inputs: INodeParams[]
|
||||
badge: string
|
||||
deprecateMessage: string
|
||||
|
||||
constructor() {
|
||||
this.label = 'ChatTogetherAI'
|
||||
@@ -25,6 +27,8 @@ class ChatTogetherAI_LlamaIndex_ChatModels implements INode {
|
||||
this.description = 'Wrapper around ChatTogetherAI LLM specific for LlamaIndex'
|
||||
this.baseClasses = [this.type, 'BaseChatModel_LlamaIndex', ...getBaseClasses(TogetherLLM)]
|
||||
this.tags = ['LlamaIndex']
|
||||
this.badge = 'DEPRECATING'
|
||||
this.deprecateMessage = 'LlamaIndex integration is deprecated and will be removed in a future release.'
|
||||
this.credential = {
|
||||
label: 'Connect Credential',
|
||||
name: 'credential',
|
||||
|
||||
@@ -15,6 +15,8 @@ class ChatGroq_LlamaIndex_ChatModels implements INode {
|
||||
baseClasses: string[]
|
||||
credential: INodeParams
|
||||
inputs: INodeParams[]
|
||||
badge: string
|
||||
deprecateMessage: string
|
||||
|
||||
constructor() {
|
||||
this.label = 'ChatGroq'
|
||||
@@ -26,6 +28,8 @@ class ChatGroq_LlamaIndex_ChatModels implements INode {
|
||||
this.description = 'Wrapper around Groq LLM specific for LlamaIndex'
|
||||
this.baseClasses = [this.type, 'BaseChatModel_LlamaIndex', ...getBaseClasses(Groq)]
|
||||
this.tags = ['LlamaIndex']
|
||||
this.badge = 'DEPRECATING'
|
||||
this.deprecateMessage = 'LlamaIndex integration is deprecated and will be removed in a future release.'
|
||||
this.credential = {
|
||||
label: 'Connect Credential',
|
||||
name: 'credential',
|
||||
|
||||
+4
@@ -21,6 +21,8 @@ class AzureOpenAIEmbedding_LlamaIndex_Embeddings implements INode {
|
||||
credential: INodeParams
|
||||
tags: string[]
|
||||
inputs: INodeParams[]
|
||||
badge: string
|
||||
deprecateMessage: string
|
||||
|
||||
constructor() {
|
||||
this.label = 'Azure OpenAI Embeddings'
|
||||
@@ -32,6 +34,8 @@ class AzureOpenAIEmbedding_LlamaIndex_Embeddings implements INode {
|
||||
this.description = 'Azure OpenAI API embeddings specific for LlamaIndex'
|
||||
this.baseClasses = [this.type, 'BaseEmbedding_LlamaIndex', ...getBaseClasses(OpenAIEmbedding)]
|
||||
this.tags = ['LlamaIndex']
|
||||
this.badge = 'DEPRECATING'
|
||||
this.deprecateMessage = 'LlamaIndex integration is deprecated and will be removed in a future release.'
|
||||
this.credential = {
|
||||
label: 'Connect Credential',
|
||||
name: 'credential',
|
||||
|
||||
@@ -15,6 +15,8 @@ class OpenAIEmbedding_LlamaIndex_Embeddings implements INode {
|
||||
tags: string[]
|
||||
credential: INodeParams
|
||||
inputs: INodeParams[]
|
||||
badge: string
|
||||
deprecateMessage: string
|
||||
|
||||
constructor() {
|
||||
this.label = 'OpenAI Embedding'
|
||||
@@ -26,6 +28,8 @@ class OpenAIEmbedding_LlamaIndex_Embeddings implements INode {
|
||||
this.description = 'OpenAI Embedding specific for LlamaIndex'
|
||||
this.baseClasses = [this.type, 'BaseEmbedding_LlamaIndex', ...getBaseClasses(OpenAIEmbedding)]
|
||||
this.tags = ['LlamaIndex']
|
||||
this.badge = 'DEPRECATING'
|
||||
this.deprecateMessage = 'LlamaIndex integration is deprecated and will be removed in a future release.'
|
||||
this.credential = {
|
||||
label: 'Connect Credential',
|
||||
name: 'credential',
|
||||
|
||||
@@ -25,6 +25,8 @@ class ContextChatEngine_LlamaIndex implements INode {
|
||||
inputs: INodeParams[]
|
||||
outputs: INodeOutputsValue[]
|
||||
sessionId?: string
|
||||
badge: string
|
||||
deprecateMessage: string
|
||||
|
||||
constructor(fields?: { sessionId?: string }) {
|
||||
this.label = 'Context Chat Engine'
|
||||
@@ -36,6 +38,8 @@ class ContextChatEngine_LlamaIndex implements INode {
|
||||
this.description = 'Answer question based on retrieved documents (context) with built-in memory to remember conversation'
|
||||
this.baseClasses = [this.type]
|
||||
this.tags = ['LlamaIndex']
|
||||
this.badge = 'DEPRECATING'
|
||||
this.deprecateMessage = 'LlamaIndex integration is deprecated and will be removed in a future release.'
|
||||
this.inputs = [
|
||||
{
|
||||
label: 'Chat Model',
|
||||
|
||||
@@ -24,6 +24,8 @@ class SimpleChatEngine_LlamaIndex implements INode {
|
||||
inputs: INodeParams[]
|
||||
outputs: INodeOutputsValue[]
|
||||
sessionId?: string
|
||||
badge: string
|
||||
deprecateMessage: string
|
||||
|
||||
constructor(fields?: { sessionId?: string }) {
|
||||
this.label = 'Simple Chat Engine'
|
||||
@@ -35,6 +37,8 @@ class SimpleChatEngine_LlamaIndex implements INode {
|
||||
this.description = 'Simple engine to handle back and forth conversations'
|
||||
this.baseClasses = [this.type]
|
||||
this.tags = ['LlamaIndex']
|
||||
this.badge = 'DEPRECATING'
|
||||
this.deprecateMessage = 'LlamaIndex integration is deprecated and will be removed in a future release.'
|
||||
this.inputs = [
|
||||
{
|
||||
label: 'Chat Model',
|
||||
|
||||
@@ -25,6 +25,8 @@ class QueryEngine_LlamaIndex implements INode {
|
||||
inputs: INodeParams[]
|
||||
outputs: INodeOutputsValue[]
|
||||
sessionId?: string
|
||||
badge: string
|
||||
deprecateMessage: string
|
||||
|
||||
constructor(fields?: { sessionId?: string }) {
|
||||
this.label = 'Query Engine'
|
||||
@@ -36,6 +38,8 @@ class QueryEngine_LlamaIndex implements INode {
|
||||
this.description = 'Simple query engine built to answer question over your data, without memory'
|
||||
this.baseClasses = [this.type, 'BaseQueryEngine']
|
||||
this.tags = ['LlamaIndex']
|
||||
this.badge = 'DEPRECATING'
|
||||
this.deprecateMessage = 'LlamaIndex integration is deprecated and will be removed in a future release.'
|
||||
this.inputs = [
|
||||
{
|
||||
label: 'Vector Store Retriever',
|
||||
|
||||
@@ -30,6 +30,8 @@ class SubQuestionQueryEngine_LlamaIndex implements INode {
|
||||
inputs: INodeParams[]
|
||||
outputs: INodeOutputsValue[]
|
||||
sessionId?: string
|
||||
badge: string
|
||||
deprecateMessage: string
|
||||
|
||||
constructor(fields?: { sessionId?: string }) {
|
||||
this.label = 'Sub Question Query Engine'
|
||||
@@ -42,6 +44,8 @@ class SubQuestionQueryEngine_LlamaIndex implements INode {
|
||||
'Breaks complex query into sub questions for each relevant data source, then gather all the intermediate responses and synthesizes a final response'
|
||||
this.baseClasses = [this.type, 'BaseQueryEngine']
|
||||
this.tags = ['LlamaIndex']
|
||||
this.badge = 'DEPRECATING'
|
||||
this.deprecateMessage = 'LlamaIndex integration is deprecated and will be removed in a future release.'
|
||||
this.inputs = [
|
||||
{
|
||||
label: 'QueryEngine Tools',
|
||||
|
||||
@@ -13,6 +13,8 @@ class CompactRefine_LlamaIndex implements INode {
|
||||
tags: string[]
|
||||
inputs: INodeParams[]
|
||||
outputs: INodeOutputsValue[]
|
||||
badge: string
|
||||
deprecateMessage: string
|
||||
|
||||
constructor() {
|
||||
this.label = 'Compact and Refine'
|
||||
@@ -25,6 +27,8 @@ class CompactRefine_LlamaIndex implements INode {
|
||||
'CompactRefine is a slight variation of Refine that first compacts the text chunks into the smallest possible number of chunks.'
|
||||
this.baseClasses = [this.type, 'ResponseSynthesizer']
|
||||
this.tags = ['LlamaIndex']
|
||||
this.badge = 'DEPRECATING'
|
||||
this.deprecateMessage = 'LlamaIndex integration is deprecated and will be removed in a future release.'
|
||||
this.inputs = [
|
||||
{
|
||||
label: 'Refine Prompt',
|
||||
|
||||
@@ -13,6 +13,8 @@ class Refine_LlamaIndex implements INode {
|
||||
tags: string[]
|
||||
inputs: INodeParams[]
|
||||
outputs: INodeOutputsValue[]
|
||||
badge: string
|
||||
deprecateMessage: string
|
||||
|
||||
constructor() {
|
||||
this.label = 'Refine'
|
||||
@@ -25,6 +27,8 @@ class Refine_LlamaIndex implements INode {
|
||||
'Create and refine an answer by sequentially going through each retrieved text chunk. This makes a separate LLM call per Node. Good for more detailed answers.'
|
||||
this.baseClasses = [this.type, 'ResponseSynthesizer']
|
||||
this.tags = ['LlamaIndex']
|
||||
this.badge = 'DEPRECATING'
|
||||
this.deprecateMessage = 'LlamaIndex integration is deprecated and will be removed in a future release.'
|
||||
this.inputs = [
|
||||
{
|
||||
label: 'Refine Prompt',
|
||||
|
||||
+4
@@ -13,6 +13,8 @@ class SimpleResponseBuilder_LlamaIndex implements INode {
|
||||
tags: string[]
|
||||
inputs: INodeParams[]
|
||||
outputs: INodeOutputsValue[]
|
||||
badge: string
|
||||
deprecateMessage: string
|
||||
|
||||
constructor() {
|
||||
this.label = 'Simple Response Builder'
|
||||
@@ -24,6 +26,8 @@ class SimpleResponseBuilder_LlamaIndex implements INode {
|
||||
this.description = `Apply a query to a collection of text chunks, gathering the responses in an array, and return a combined string of all responses. Useful for individual queries on each text chunk.`
|
||||
this.baseClasses = [this.type, 'ResponseSynthesizer']
|
||||
this.tags = ['LlamaIndex']
|
||||
this.badge = 'DEPRECATING'
|
||||
this.deprecateMessage = 'LlamaIndex integration is deprecated and will be removed in a future release.'
|
||||
this.inputs = []
|
||||
}
|
||||
|
||||
|
||||
@@ -13,6 +13,8 @@ class TreeSummarize_LlamaIndex implements INode {
|
||||
tags: string[]
|
||||
inputs: INodeParams[]
|
||||
outputs: INodeOutputsValue[]
|
||||
badge: string
|
||||
deprecateMessage: string
|
||||
|
||||
constructor() {
|
||||
this.label = 'TreeSummarize'
|
||||
@@ -25,6 +27,8 @@ class TreeSummarize_LlamaIndex implements INode {
|
||||
'Given a set of text chunks and the query, recursively construct a tree and return the root node as the response. Good for summarization purposes.'
|
||||
this.baseClasses = [this.type, 'ResponseSynthesizer']
|
||||
this.tags = ['LlamaIndex']
|
||||
this.badge = 'DEPRECATING'
|
||||
this.deprecateMessage = 'LlamaIndex integration is deprecated and will be removed in a future release.'
|
||||
this.inputs = [
|
||||
{
|
||||
label: 'Prompt',
|
||||
|
||||
@@ -12,6 +12,8 @@ class QueryEngine_Tools implements INode {
|
||||
tags: string[]
|
||||
baseClasses: string[]
|
||||
inputs?: INodeParams[]
|
||||
badge: string
|
||||
deprecateMessage: string
|
||||
|
||||
constructor() {
|
||||
this.label = 'QueryEngine Tool'
|
||||
@@ -23,6 +25,8 @@ class QueryEngine_Tools implements INode {
|
||||
this.tags = ['LlamaIndex']
|
||||
this.description = 'Tool used to invoke query engine'
|
||||
this.baseClasses = [this.type, 'Tool_LlamaIndex']
|
||||
this.badge = 'DEPRECATING'
|
||||
this.deprecateMessage = 'LlamaIndex integration is deprecated and will be removed in a future release.'
|
||||
this.inputs = [
|
||||
{
|
||||
label: 'Base QueryEngine',
|
||||
|
||||
@@ -31,6 +31,8 @@ class PineconeLlamaIndex_VectorStores implements INode {
|
||||
inputs: INodeParams[]
|
||||
credential: INodeParams
|
||||
outputs: INodeOutputsValue[]
|
||||
badge: string
|
||||
deprecateMessage: string
|
||||
|
||||
constructor() {
|
||||
this.label = 'Pinecone'
|
||||
@@ -42,6 +44,8 @@ class PineconeLlamaIndex_VectorStores implements INode {
|
||||
this.description = `Upsert embedded data and perform similarity search upon query using Pinecone, a leading fully managed hosted vector database`
|
||||
this.baseClasses = [this.type, 'VectorIndexRetriever']
|
||||
this.tags = ['LlamaIndex']
|
||||
this.badge = 'DEPRECATING'
|
||||
this.deprecateMessage = 'LlamaIndex integration is deprecated and will be removed in a future release.'
|
||||
this.credential = {
|
||||
label: 'Connect Credential',
|
||||
name: 'credential',
|
||||
|
||||
@@ -17,6 +17,8 @@ class SimpleStoreUpsert_LlamaIndex_VectorStores implements INode {
|
||||
tags: string[]
|
||||
inputs: INodeParams[]
|
||||
outputs: INodeOutputsValue[]
|
||||
badge: string
|
||||
deprecateMessage: string
|
||||
|
||||
constructor() {
|
||||
this.label = 'SimpleStore'
|
||||
@@ -28,6 +30,8 @@ class SimpleStoreUpsert_LlamaIndex_VectorStores implements INode {
|
||||
this.description = 'Upsert embedded data to local path and perform similarity search'
|
||||
this.baseClasses = [this.type, 'VectorIndexRetriever']
|
||||
this.tags = ['LlamaIndex']
|
||||
this.badge = 'DEPRECATING'
|
||||
this.deprecateMessage = 'LlamaIndex integration is deprecated and will be removed in a future release.'
|
||||
this.inputs = [
|
||||
{
|
||||
label: 'Document',
|
||||
|
||||
@@ -527,7 +527,8 @@ const AddNodes = ({ nodesData, node, isAgentCanvas, isAgentflowv2, onFlowGenerat
|
||||
icon={
|
||||
<div
|
||||
style={{
|
||||
borderRadius: '50%'
|
||||
borderRadius: '50%',
|
||||
position: 'relative'
|
||||
}}
|
||||
>
|
||||
<img
|
||||
@@ -540,6 +541,27 @@ const AddNodes = ({ nodesData, node, isAgentCanvas, isAgentflowv2, onFlowGenerat
|
||||
src={getImage(index)}
|
||||
alt={item}
|
||||
/>
|
||||
{item === 'LlamaIndex' && (
|
||||
<span
|
||||
style={{
|
||||
position: 'absolute',
|
||||
top: '-4px',
|
||||
right: '-6px',
|
||||
backgroundColor: '#ff9800',
|
||||
color: 'white',
|
||||
borderRadius: '50%',
|
||||
width: '12px',
|
||||
height: '12px',
|
||||
fontSize: '10px',
|
||||
fontWeight: 'bold',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center'
|
||||
}}
|
||||
>
|
||||
!
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
}
|
||||
iconPosition='start'
|
||||
|
||||
Reference in New Issue
Block a user