llamaindex
Enumerations
- ChatResponseMode
- ClipEmbeddingModelType
- DeuceChatStrategy
- HuggingFaceEmbeddingModelType
- IndexStructType
- KeywordTableRetrieverMode
- MetadataMode
- MistralAIEmbeddingModelType
- NodeRelationship
- ObjectType
- SimilarityType
- SummaryRetrieverMode
- Tokenizers
- VectorStoreQueryMode
Classes
- AgentChatResponse
- Anthropic
- AstraDBVectorStore
- AudioSubtitlesReader
- AudioTranscriptParagraphsReader
- AudioTranscriptReader
- AudioTranscriptSentencesReader
- AzureOpenAI
- BaseAgent
- BaseDocumentStore
- BaseEmbedding
- BaseExtractor
- BaseInMemoryKVStore
- BaseIndex
- BaseIndexStore
- BaseKVStore
- BaseNode
- BaseObjectNodeMapping
- BaseSelector
- CallbackManager
- ChatHistory
- ChromaVectorStore
- ClipEmbedding
- CohereRerank
- CompactAndRefine
- CondenseQuestionChatEngine
- ContextChatEngine
- CorrectnessEvaluator
- Document
- DocxReader
- FaithfulnessEvaluator
- FireworksEmbedding
- FireworksLLM
- FunctionTool
- Groq
- HTMLReader
- HuggingFaceEmbedding
- ImageDocument
- ImageNode
- ImageReader
- IndexDict
- IndexList
- IndexNode
- IndexStruct
- IngestionPipeline
- KeywordExtractor
- KeywordTable
- KeywordTableIndex
- KeywordTableLLMRetriever
- KeywordTableRAKERetriever
- KeywordTableSimpleRetriever
- LLMMultiSelector
- LLMQuestionGenerator
- LLMSingleSelector
- LlamaCloudIndex
- LlamaCloudRetriever
- LlamaDeuce
- LlamaIndexCustomEvent
- LlamaParseReader
- MarkdownNodeParser
- MarkdownReader
- MetadataReplacementPostProcessor
- MilvusVectorStore
- MistralAI
- MistralAIEmbedding
- MistralAISession
- MongoDBAtlasVectorSearch
- MultiModalEmbedding
- MultiModalResponseSynthesizer
- NotionReader
- ObjectIndex
- ObjectRetriever
- Ollama
- OllamaEmbedding
- OpenAI
- OpenAIAgent
- OpenAIAgentWorker
- OpenAIEmbedding
- OpenAISession
- PDFReader
- PGVectorStore
- PapaCSVReader
- PineconeVectorStore
- Portkey
- PromptHelper
- PromptMixin
- QdrantVectorStore
- QueryEngineTool
- QuestionsAnsweredExtractor
- ReActAgent
- ReActAgentWorker
- Refine
- RelevancyEvaluator
- ReplicateSession
- Response
- ResponseSynthesizer
- RetrieverQueryEngine
- RouterQueryEngine
- SentenceSplitter
- SentenceWindowNodeParser
- SimilarityPostprocessor
- SimpleChatEngine
- SimpleChatHistory
- SimpleChatStore
- SimpleDirectoryReader
- SimpleDocumentStore
- SimpleIndexStore
- SimpleKVStore
- SimpleMongoReader
- SimpleNodeParser
- SimpleResponseBuilder
- SimpleToolNodeMapping
- SimpleVectorStore
- StreamingAgentChatResponse
- SubQuestionOutputParser
- SubQuestionQueryEngine
- SummaryChatHistory
- SummaryExtractor
- SummaryIndex
- SummaryIndexLLMRetriever
- SummaryIndexRetriever
- Task
- TaskStep
- TaskStepOutput
- TextFileReader
- TextNode
- TitleExtractor
- TogetherEmbedding
- TogetherLLM
- ToolOutput
- TreeSummarize
- VectorIndexRetriever
- VectorStoreIndex
- WikipediaTool
Interfaces
- AgentWorker
- BaseChatStore
- BaseIndexInit
- BaseNodePostprocessor
- BaseOutputParser
- BaseQueryEngine
- BaseReader
- BaseRetriever
- BaseSynthesizer
- BaseTool
- ChatEngine
- ChatEngineAgentParams
- ChatEngineParamsBase
- ChatEngineParamsNonStreaming
- ChatEngineParamsStreaming
- ChatResponse
- CompletionResponse
- Context
- ContextGenerator
- DefaultStreamToken
- ExactMatchFilter
- FileReader
- KeywordIndexOptions
- LLM
- LLMChat
- LLMChatParamsBase
- LLMChatParamsNonStreaming
- LLMChatParamsStreaming
- LLMCompletionParamsBase
- LLMCompletionParamsNonStreaming
- LLMCompletionParamsStreaming
- LlamaIndexEventMaps
- MetadataFilters
- MetadataInfo
- NodeParser
- NodeWithScore
- RefDocInfo
- RelatedNodeInfo
- ResponseBuilder
- ResponseBuilderParamsBase
- ResponseBuilderParamsNonStreaming
- ResponseBuilderParamsStreaming
- RetrievalCallbackResponse
- ServiceContext
- ServiceContextOptions
- SingleSelection
- StorageContext
- StreamCallbackResponse
- StructuredOutput
- SummaryIndexOptions
- SynthesizeParamsBase
- SynthesizeParamsNonStreaming
- SynthesizeParamsStreaming
- TransformComponent
- VectorIndexConstructorProps
- VectorIndexOptions
- VectorStore
- VectorStoreInfo
- VectorStoreQuery
- VectorStoreQueryResult
- VectorStoreQuerySpec
Other
ReplicateChatStrategy
Renames and re-exports DeuceChatStrategy
ReplicateLLM
Renames and re-exports LlamaDeuce
AnthropicStreamToken
Ƭ AnthropicStreamToken: Anthropic.Completion
Defined in
packages/core/src/callbacks/CallbackManager.ts:77
AssemblyAIOptions
Ƭ AssemblyAIOptions: Partial
<BaseServiceParams
>
Defined in
packages/core/src/readers/AssemblyAIReader.ts:13
BaseToolWithCall
Ƭ BaseToolWithCall<Input
>: Omit
<BaseTool
<Input
>, "call"
> & { call
: NonNullable
<Pick
<BaseTool
<Input
>, "call"
>["call"
]> }
Type parameters
Name | Type |
---|---|
Input | any |
Defined in
BuilderParams
Ƭ BuilderParams: Object
Type declaration
Name | Type |
---|---|
docStore | BaseDocumentStore |
fs | GenericFileSystem |
imageVectorStore | VectorStore |
indexStore | BaseIndexStore |
persistDir | string |
storeImages | boolean |
vectorStore | VectorStore |
Defined in
packages/core/src/storage/StorageContext.ts:21
ChatMessage
Ƭ ChatMessage<AdditionalMessageOptions
>: Object
Type parameters
Name | Type |
---|---|
AdditionalMessageOptions | extends object = object |
Type declaration
Name | Type |
---|---|
content | MessageContent |
options? | AdditionalMessageOptions |
role | MessageType |
Defined in
packages/core/src/llm/types.ts:80
ChatResponseChunk
Ƭ ChatResponseChunk<AdditionalMessageOptions
>: Object
Type parameters
Name | Type |
---|---|
AdditionalMessageOptions | extends object = object |
Type declaration
Name | Type |
---|---|
delta | string |
options? | AdditionalMessageOptions |
raw | object | null |
Defined in
packages/core/src/llm/types.ts:98
ChoiceSelectPrompt
Ƭ ChoiceSelectPrompt: typeof defaultChoiceSelectPrompt
Defined in
packages/core/src/Prompt.ts:178
CloudRetrieveParams
Ƭ CloudRetrieveParams: Omit
<PlatformApi.RetrievalParams
, "query"
| "searchFilters"
| "pipelineId"
| "className"
> & { similarityTopK?
: number
}
Defined in
packages/core/src/cloud/LlamaCloudRetriever.ts:12
CondenseQuestionPrompt
Ƭ CondenseQuestionPrompt: typeof defaultCondenseQuestionPrompt
Defined in
packages/core/src/Prompt.ts:359
ContextSystemPrompt
Ƭ ContextSystemPrompt: typeof defaultContextSystemPrompt
Defined in
packages/core/src/Prompt.ts:380
CorrectnessSystemPrompt
Ƭ CorrectnessSystemPrompt: typeof defaultCorrectnessSystemPrompt
Defined in
packages/core/src/evaluation/prompts.ts:52
FaithfulnessRefinePrompt
Ƭ FaithfulnessRefinePrompt: typeof defaultFaithfulnessRefinePrompt
Defined in
packages/core/src/evaluation/prompts.ts:76
FaithfulnessTextQAPrompt
Ƭ FaithfulnessTextQAPrompt: typeof defaultFaithfulnessTextQaPrompt
Defined in
packages/core/src/evaluation/prompts.ts:115
ImageNodeConstructorProps
Ƭ ImageNodeConstructorProps<T
>: Pick
<ImageNode
<T
>, "image"
| "id_"
> & Partial
<ImageNode
<T
>>
Type parameters
Name | Type |
---|---|
T | extends Metadata |
Defined in
ImageType
Ƭ ImageType: string
| Blob
| URL
Defined in
KeywordExtractPrompt
Ƭ KeywordExtractPrompt: typeof defaultKeywordExtractPrompt
Defined in
packages/core/src/Prompt.ts:395
LLMEndEvent
Ƭ LLMEndEvent: LLMBaseEvent
<{ id
: UUID
; response
: ChatResponse
}>
Defined in
packages/core/src/llm/types.ts:17
LLMMetadata
Ƭ LLMMetadata: Object
Type declaration
Name | Type |
---|---|
contextWindow | number |
maxTokens? | number |
model | string |
temperature | number |
tokenizer | Tokenizers | undefined |
topP | number |
Defined in
packages/core/src/llm/types.ts:116
LLMStartEvent
Ƭ LLMStartEvent: LLMBaseEvent
<{ id
: UUID
; messages
: ChatMessage
[] }>
Defined in
packages/core/src/llm/types.ts:8
LLMStreamEvent
Ƭ LLMStreamEvent: LLMBaseEvent
<{ chunk
: ChatResponseChunk
; id
: UUID
}>
Defined in
packages/core/src/llm/types.ts:21
LLMToolCallEvent
Ƭ LLMToolCallEvent: LLMBaseEvent
<{ toolCall
: Omit
<ToolCallOptions
["toolCall"
], "id"
> }>
Defined in
packages/core/src/llm/types.ts:12
ListIndex
Ƭ ListIndex: SummaryIndex
Defined in
packages/core/src/indices/summary/index.ts:279
ListIndexLLMRetriever
Ƭ ListIndexLLMRetriever: SummaryIndexLLMRetriever
Defined in
packages/core/src/indices/summary/index.ts:389
ListIndexRetriever
Ƭ ListIndexRetriever: SummaryIndexRetriever
Defined in
packages/core/src/indices/summary/index.ts:388
ListRetrieverMode
Ƭ ListRetrieverMode: SummaryRetrieverMode
Defined in
packages/core/src/indices/summary/index.ts:280
MessageContent
Ƭ MessageContent: string
| MessageContentDetail
[]
Extended type for the content of a message that allows for multi-modal messages.
Defined in
packages/core/src/llm/types.ts:178
MessageContentDetail
Ƭ MessageContentDetail: MessageContentTextDetail
| MessageContentImageDetail
Defined in
packages/core/src/llm/types.ts:171
MessageContentImageDetail
Ƭ MessageContentImageDetail: Object
Type declaration
Name | Type |
---|---|
image_url | { url : string } |
image_url.url | string |
type | "image_url" |
Defined in
packages/core/src/llm/types.ts:166
MessageContentTextDetail
Ƭ MessageContentTextDetail: Object
Type declaration
Name | Type |
---|---|
text | string |
type | "text" |
Defined in
packages/core/src/llm/types.ts:161
MessageType
Ƭ MessageType: "user"
| "assistant"
| "system"
| "memory"
Defined in
packages/core/src/llm/types.ts:78
Metadata
Ƭ Metadata: Record
<string
, any
>
Defined in
OpenAIAdditionalChatOptions
Ƭ OpenAIAdditionalChatOptions: Omit
<Partial
<OpenAILLM.Chat.ChatCompletionCreateParams
>, "max_tokens"
| "messages"
| "model"
| "temperature"
| "top_p"
| "stream"
| "tools"
| "toolChoice"
>
Defined in
packages/core/src/llm/open_ai.ts:149
OpenAIAdditionalMetadata
Ƭ OpenAIAdditionalMetadata: Object
Defined in
packages/core/src/llm/open_ai.ts:147
OpenAIStreamToken
Ƭ OpenAIStreamToken: DefaultStreamToken
Defined in
packages/core/src/callbacks/CallbackManager.ts:76
QueryBundle
Ƭ QueryBundle: Object
Link
We don't have image_path
here, because it is included in the query
field.
Type declaration
Name | Type |
---|---|
embedding? | number [] |
query | MessageContent |
Defined in
QueryEngineParam
Ƭ QueryEngineParam: Object
Type declaration
Name | Type |
---|---|
query | string |
Defined in
packages/core/src/tools/QueryEngineTool.ts:24
QueryEngineParamsBase
Ƭ QueryEngineParamsBase: Object
Parameters for sending a query.