Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Update docs directories to be consistent with src

davidmezzettib606b18e1aad
diff --git a/docs/pipelines/audio/transcription.md b/docs/pipeline/audio/transcription.md
similarity index 100%
rename from docs/pipelines/audio/transcription.md
rename to docs/pipeline/audio/transcription.md
diff --git a/docs/pipelines/data/segmentation.md b/docs/pipeline/data/segmentation.md
similarity index 100%
rename from docs/pipelines/data/segmentation.md
rename to docs/pipeline/data/segmentation.md
diff --git a/docs/pipelines/data/tabular.md b/docs/pipeline/data/tabular.md
similarity index 100%
rename from docs/pipelines/data/tabular.md
rename to docs/pipeline/data/tabular.md
diff --git a/docs/pipelines/data/textractor.md b/docs/pipeline/data/textractor.md
similarity index 100%
rename from docs/pipelines/data/textractor.md
rename to docs/pipeline/data/textractor.md
diff --git a/docs/pipelines/image/caption.md b/docs/pipeline/image/caption.md
similarity index 100%
rename from docs/pipelines/image/caption.md
rename to docs/pipeline/image/caption.md
diff --git a/docs/pipelines/image/objects.md b/docs/pipeline/image/objects.md
similarity index 100%
rename from docs/pipelines/image/objects.md
rename to docs/pipeline/image/objects.md
diff --git a/docs/pipelines/overview.md b/docs/pipeline/overview.md
similarity index 98%
rename from docs/pipelines/overview.md
rename to docs/pipeline/overview.md
index b344ef60..ccc2a8e2 100644
--- a/docs/pipelines/overview.md
+++ b/docs/pipeline/overview.md
@@ -1,4 +1,4 @@
-# Pipelines
+# Pipeline
txtai provides a generic pipeline processing framework with the only interface requirement being a `__call__` method. Pipelines are flexible and can
process various types of data. Pipelines can wrap machine learning models as well as other processes.
diff --git a/docs/pipelines/text/extractor.md b/docs/pipeline/text/extractor.md
similarity index 100%
rename from docs/pipelines/text/extractor.md
rename to docs/pipeline/text/extractor.md
diff --git a/docs/pipelines/text/labels.md b/docs/pipeline/text/labels.md
similarity index 100%
rename from docs/pipelines/text/labels.md
rename to docs/pipeline/text/labels.md
diff --git a/docs/pipelines/text/similarity.md b/docs/pipeline/text/similarity.md
similarity index 100%
rename from docs/pipelines/text/similarity.md
rename to docs/pipeline/text/similarity.md
diff --git a/docs/pipelines/text/summary.md b/docs/pipeline/text/summary.md
similarity index 100%
rename from docs/pipelines/text/summary.md
rename to docs/pipeline/text/summary.md
diff --git a/docs/pipelines/text/translation.md b/docs/pipeline/text/translation.md
similarity index 100%
rename from docs/pipelines/text/translation.md
rename to docs/pipeline/text/translation.md
diff --git a/docs/pipelines/train/hfonnx.md b/docs/pipeline/train/hfonnx.md
similarity index 100%
rename from docs/pipelines/train/hfonnx.md
rename to docs/pipeline/train/hfonnx.md
diff --git a/docs/pipelines/train/mlonnx.md b/docs/pipeline/train/mlonnx.md
similarity index 100%
rename from docs/pipelines/train/mlonnx.md
rename to docs/pipeline/train/mlonnx.md
diff --git a/docs/pipelines/train/trainer.md b/docs/pipeline/train/trainer.md
similarity index 100%
rename from docs/pipelines/train/trainer.md
rename to docs/pipeline/train/trainer.md
diff --git a/docs/workflows/file.md b/docs/workflow/file.md
similarity index 100%
rename from docs/workflows/file.md
rename to docs/workflow/file.md
diff --git a/docs/workflows/image.md b/docs/workflow/image.md
similarity index 100%
rename from docs/workflows/image.md
rename to docs/workflow/image.md
diff --git a/docs/workflows/overview.md b/docs/workflow/overview.md
similarity index 99%
rename from docs/workflows/overview.md
rename to docs/workflow/overview.md
index 0df99dd5..00e1e153 100644
--- a/docs/workflows/overview.md
+++ b/docs/workflow/overview.md
@@ -1,4 +1,4 @@
-# Workflows
+# Workflow
Workflows are a simple yet powerful construct that takes a callable and returns elements. Workflows operate well with pipelines but can work with any callable object. Workflows are streaming by nature and work on data in batches, allowing large volumes of data to be processed efficiently.
diff --git a/docs/workflows/retrieve.md b/docs/workflow/retrieve.md
similarity index 100%
rename from docs/workflows/retrieve.md
rename to docs/workflow/retrieve.md
diff --git a/docs/workflows/service.md b/docs/workflow/service.md
similarity index 100%
rename from docs/workflows/service.md
rename to docs/workflow/service.md
diff --git a/docs/workflows/storage.md b/docs/workflow/storage.md
similarity index 100%
rename from docs/workflows/storage.md
rename to docs/workflow/storage.md
diff --git a/docs/workflows/task.md b/docs/workflow/task.md
similarity index 99%
rename from docs/workflows/task.md
rename to docs/workflow/task.md
index 5f2b5599..c9e1b892 100644
--- a/docs/workflows/task.md
+++ b/docs/workflow/task.md
@@ -1,4 +1,4 @@
-# Tasks
+# Task
Workflows execute tasks. Tasks are callable objects with a number of parameters to control the processing of data at a given step.
diff --git a/docs/workflows/url.md b/docs/workflow/url.md
similarity index 100%
rename from docs/workflows/url.md
rename to docs/workflow/url.md
diff --git a/docs/workflows/workflow.md b/docs/workflow/workflow.md
similarity index 100%
rename from docs/workflows/workflow.md
rename to docs/workflow/workflow.md
diff --git a/mkdocs.yml b/mkdocs.yml
index 13126cfd..ab15c7d2 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -33,37 +33,37 @@ nav:
- Installation: install.md
- Examples: examples.md
- Embeddings: embeddings.md
- - Pipelines:
- - Overview: pipelines/overview.md
+ - Pipeline:
+ - Overview: pipeline/overview.md
- Audio:
- - Transcription: pipelines/audio/transcription.md
+ - Transcription: pipeline/audio/transcription.md
- Data:
- - Segmentation: pipelines/data/segmentation.md
- - Tabular: pipelines/data/tabular.md
- - Textractor: pipelines/data/textractor.md
+ - Segmentation: pipeline/data/segmentation.md
+ - Tabular: pipeline/data/tabular.md
+ - Textractor: pipeline/data/textractor.md
- Image:
- - Caption: pipelines/image/caption.md
- - Objects: pipelines/image/objects.md
+ - Caption: pipeline/image/caption.md
+ - Objects: pipeline/image/objects.md
- Text:
- - Extractor: pipelines/text/extractor.md
- - Labels: pipelines/text/labels.md
- - Similarity: pipelines/text/similarity.md
- - Summary: pipelines/text/summary.md
- - Translation: pipelines/text/translation.md
+ - Extractor: pipeline/text/extractor.md
+ - Labels: pipeline/text/labels.md
+ - Similarity: pipeline/text/similarity.md
+ - Summary: pipeline/text/summary.md
+ - Translation: pipeline/text/translation.md
- Train:
- - HF ONNX: pipelines/train/hfonnx.md
- - ML ONNX: pipelines/train/mlonnx.md
- - Trainer: pipelines/train/trainer.md
- - Workflows:
- - Overview: workflows/overview.md
- - Task: workflows/task.md
- - File: workflows/file.md
- - Image: workflows/image.md
- - Retrieve: workflows/retrieve.md
- - Service: workflows/service.md
- - Storage: workflows/storage.md
- - Url: workflows/url.md
- - Workflow: workflows/workflow.md
+ - HF ONNX: pipeline/train/hfonnx.md
+ - ML ONNX: pipeline/train/mlonnx.md
+ - Trainer: pipeline/train/trainer.md
+ - Workflow:
+ - Overview: workflow/overview.md
+ - Task: workflow/task.md
+ - File: workflow/file.md
+ - Image: workflow/image.md
+ - Retrieve: workflow/retrieve.md
+ - Service: workflow/service.md
+ - Storage: workflow/storage.md
+ - Url: workflow/url.md
+ - Workflow: workflow/workflow.md
- API: api.md
- Further Reading: articles.md