[AUR-405] Auto-generate markdown documentation from pipeline (#33)

* Create a script to auto-generate markdown docs from pipeline
* Clean up documentation for Chain-of-Thought
This commit is contained in:
Nguyen Trung Duc (john)
2023-10-04 10:54:24 +07:00
committed by GitHub
parent 6ab1854532
commit 49ed3f6994
5 changed files with 109 additions and 8 deletions

View File

@@ -8,12 +8,13 @@ class BaseComponent(Compose):
A component is a class that can be used to compose a pipeline. To use the
component, you should implement the following methods:
- run_raw: run on raw input
- run_batch_raw: run on batch of raw input
- run_document: run on document
- run_batch_document: run on batch of documents
- is_document: check if input is document
- is_batch: check if input is batch
- run_raw: run on raw input
- run_batch_raw: run on batch of raw input
- run_document: run on document
- run_batch_document: run on batch of documents
- is_document: check if input is document
- is_batch: check if input is batch
"""
inflow = None