All Classes
| Class | Description |
|---|---|
| AnswerWithSources |
Model class for QA output with sources
|
| ApplyToStreamInputChain<I,O> |
this chain applies another chain (which is passed as a constructor parameter)
to each item of the input stream.
|
| AzureOpenAiChatCompletionsChain |
OpenAiChatCompletionsChain adopted for usage of Azure OpenAI Services |
| AzureOpenAiCompletionsChain |
OpenAiCompletionsChain adopted for usage of Azure OpenAI Services |
| Chain<I,O> |
Basic interface for all modular components in this repository.
|
| ChainLink<I,M,O> |
A Link Between Worlds ;-)
|
| CombineDocumentsChain |
This
Chain is used to combine multiple retrieved documents into one
prompt which can then be used to target a LLM in subsequent steps. |
| ElasticsearchRetrievalChain |
This
RetrievalChain retrieves documents from an elasticsearch index |
| JdbcRetrievalChain | |
| JdbcRetrievalChain.DocumentCreator |
Wrapper interface for Lambdas that act as document creators for a JDBC
ResultSet. |
| JoinChain<I,O> |
This
Chain is used to join multiple other chains. |
| JtokkitTextSplitter |
This
TextSplitter splits documents based on their token count. |
| LargeLanguageModelChain |
Parent of all
Chains which allow passing input to a large
language model. |
| LoggingChain<I> |
this chain is used to log an input instance
|
| LuceneRetrievalChain |
This
RetrievalChain retrieves documents from a lucene index |
| MapAnswerWithSourcesChain |
Splits answers with sources from a QA chain.
|
| MaxLengthBasedTextSplitter |
abstract base class for
TextSplitter implementations that use a max
length for deciding when to split |
| ModifyDocumentsContentChain |
Chain that takes documents as input and modifies their
PromptConstants.CONTENT entry using a llm chain that is passed as a
constructor param. |
| OpenAiChain<P extends OpenAiParameters<P>,I extends P,O extends OpenAiResponse<?>> |
LargeLanguageModelChain for usage with the OpenAI /completions API |
| OpenAiChatCompletionsChain |
OpenAiChain for usage with the OpenAI /chat/completions API |
| OpenAiChatCompletionsChoice |
Model class for choices in an OpenAI /chat/completions response
|
| OpenAiChatCompletionsParameters |
Parameters for calling an OpenAI Chat Model
https://platform.openai.com/docs/api-reference/chat/create
|
| OpenAiChatCompletionsRequest |
Model class for the OpenAI /chat/completions request body
|
| OpenAiChatCompletionsResponse |
Model class for the response body of an OpenAI /chat/completions request
|
| OpenAiChatMessage |
Model class for request and response messages of an OpenAI /chat/completions
request
|
| OpenAiCompletionsChain |
OpenAiChain for usage with the OpenAI /completions API |
| OpenAiCompletionsChoice |
Model class for choices in an OpenAI /completions response
|
| OpenAiCompletionsParameters |
Parameters for calling an OpenAI Completions Model
https://platform.openai.com/docs/api-reference/completions/create
|
| OpenAiCompletionsRequest |
Model class for the OpenAI /completions request body
|
| OpenAiCompletionsResponse |
Model class for the response body of an OpenAI /completions request
|
| OpenAiParameters<T extends OpenAiParameters<T>> |
Contains the intersection of parameters for the /chat/completions and
/completions api
|
| OpenAiResponse<C> |
Model class for the response body of an OpenAI request
|
| PromptConstants |
Utility Class which holds constants for prompt placeholders
|
| PromptTemplates |
this utility class holds templates for various prompts
|
| ReadDocumentsFromInMemoryPdfChain |
Utilizes Apache PDFBox to read documents from a byte array
|
| ReadDocumentsFromInMemoryPdfChain.InMemoryPdf |
wrapper for an in memory pdf (byte array + title)
|
| ReadDocumentsFromPdfChain |
Utilizes Apache PDFBox to read documents from a PDF or a folder of PDFs
|
| ReadDocumentsFromPdfChainBase<I> |
provides base functionality for all pdf reading chains
|
| ReadDocumentsFromPdfChainBase.PdfReadMode |
this enum is used to configure how each pdf content is read into a string
|
| RetrievalChain |
Chain which is utilized for retrieving documents in a QA context |
| SplitDocumentsChain |
This
Chain is used to split long documents into chunks. |
| StreamUnwrappingChain<T> |
a utility chain which is used to retrieve the element from a singleton stream
|
| StreamWrappingChain<T> | |
| TextSplitter |
Implementations are used by the
SplitDocumentsChain. |
| TextStreamer |
streams a text using a
BreakIterator |
| WriteDocumentsToElasticsearchIndexChain |
Inserts documents into an elasticsearch index
|
| WriteDocumentsToLuceneDirectoryChain |
Stores documents in a lucene
Directory |