All Classes
| Class | Description |
|---|---|
| AnswerWithSources |
Model class for QA output with sources
|
| AzureOpenAiChatChain |
OpenAiChatChain adopted for usage of Azure OpenAI Services |
| Chain<I,O> |
Basic interface for all modular components in this repository.
|
| 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. |
| LargeLanguageModelChain |
Parent of all
Chains which allow passing input to a large
language model. |
| LuceneRetrievalChain |
This
RetrievalChain retrieves documents from a lucene index |
| MapAnswerWithSourcesChain |
Splits answers with sources from a QA chain.
|
| OpenAiChatChain |
LargeLanguageModelChain for usage with the OpenAI API |
| OpenAiChatCompletionsChoice |
Model class for choices in an OpenAI /chat/completions response
|
| OpenAiChatCompletionsRequest |
Model class for the OpenAI /chat/completions request body
|
| OpenAiChatCompletionsResponse |
Model class for the response body of an OpenAI /chat/completions request
|
| OpenAiChatParameters |
Parameters for calling an OpenAI Chat Model
https://platform.openai.com/docs/api-reference/chat/create
|
| PromptConstants |
Utility Class which holds constants for prompt placeholders
|
| PromptTemplates |
this utility class holds templates for various prompts
|
| RetrievalChain |
Chain which is utilized for retrieving documents in a QA context |
| SummarizeDocumentsChain |
Chain that takes documents as input and summarizes them using a llm
chain that is passed as a constructor param. |