From de917a79ce31d50252822e2a6084c6e0f993c84f Mon Sep 17 00:00:00 2001 From: liivw <164842155+liivw@users.noreply.github.com> Date: Wed, 16 Oct 2024 14:43:29 +0800 Subject: [PATCH] update --- docs/developer-guides/caching-task-outputs.md | 3 ++ docs/faqs/task-cache-output.md | 29 ------------------- 2 files changed, 3 insertions(+), 29 deletions(-) delete mode 100644 docs/faqs/task-cache-output.md diff --git a/docs/developer-guides/caching-task-outputs.md b/docs/developer-guides/caching-task-outputs.md index 246dc725..1d28301f 100644 --- a/docs/developer-guides/caching-task-outputs.md +++ b/docs/developer-guides/caching-task-outputs.md @@ -1,3 +1,6 @@ +--- +slug: "../faqs/task-cache-output" +--- # Caching Task Outputs Some task types support caching, which saves task outputs for reuse in subsequent tasks. This feature can be configured in the task configuration. diff --git a/docs/faqs/task-cache-output.md b/docs/faqs/task-cache-output.md deleted file mode 100644 index ab8f066d..00000000 --- a/docs/faqs/task-cache-output.md +++ /dev/null @@ -1,29 +0,0 @@ -# How are task outputs cached in Conductor? - -Certain task types support the task caching functionality, where you can enable the "Cache output" option that allows saving of task outputs for future use. On enabling this option, you need to provide the following parameters: - -```json -"cacheConfig": { - "ttlInSecond": 3600, - "key": "someCacheKey" - } -``` - -- **tlInSecondt**: Provide the time to live in seconds. You can also [pass this parameter as a variable](https://orkes.io/content/developer-guides/passing-inputs-to-task-in-conductor). -- **key**: Provide the cache key, which is a string with parameter substitution based on the task input. You can also [pass this parameter as a variable](https://orkes.io/content/developer-guides/passing-inputs-to-task-in-conductor). - -This field is currently supported for the following task types: - -- [HTTP](https://orkes.io/content/reference-docs/system-tasks/http) -- [HTTP Poll](https://orkes.io/content/reference-docs/system-tasks/http-poll) -- [Business Rule](https://orkes.io/content/reference-docs/system-tasks/business-rule) -- [JDBC](https://orkes.io/content/reference-docs/system-tasks/jdbc) -- [Opsgenie](https://orkes.io/content/reference-docs/system-tasks/opsgenie) -- [LLM Text Complete](https://orkes.io/content/reference-docs/ai-tasks/llm-text-complete) -- [LLM Generate Embeddings](https://orkes.io/content/reference-docs/ai-tasks/llm-generate-embeddings) -- [LLM Get Embeddings](https://orkes.io/content/reference-docs/ai-tasks/llm-get-embeddings) -- [LLM Search Index](https://orkes.io/content/reference-docs/ai-tasks/llm-search-index) -- [LLM Index Document](https://orkes.io/content/reference-docs/ai-tasks/llm-index-document) -- [LLM Get Document](https://orkes.io/content/reference-docs/ai-tasks/llm-get-document) -- [LLM Index Text](https://orkes.io/content/reference-docs/ai-tasks/llm-index-text) -- [Worker Task](https://orkes.io/content/reference-docs/worker-task)