haystack/docs/pydoc/config/prompt-node.yml
Vladimir Blagojevic 73380b194a
feat: Add Cohere PromptNode invocation layer (#4827)
* Add CohereInvocationLayer
---------

Co-authored-by: bogdankostic <bogdankostic@web.de>
2023-05-12 17:50:09 +02:00

35 lines
1.0 KiB
YAML

loaders:
- type: python
search_path: [../../../haystack/nodes/prompt]
modules:
[
"prompt_node",
"prompt_model",
"prompt_template",
"shapers",
]
ignore_when_discovered: ["__init__"]
processors:
- type: filter
expression:
documented_only: true
do_not_filter_modules: false
skip_empty_modules: true
- type: filter
expression: "name not in ['PromptTemplateValidationError', 'PromptModelInvocationLayer', 'StopWordsCriteria', 'HFLocalInvocationLayer', 'OpenAIInvocationLayer', '_ValidationVisitor', '_FstringParamsTransformer']"
- type: smart
- type: crossref
renderer:
type: renderers.ReadmeRenderer
excerpt: Uses Large Language Models directly in your pipelines.
category_slug: haystack-classes
title: PromptNode API
slug: prompt-node-api
order: 115
markdown:
descriptive_class_title: false
descriptive_module_title: true
add_method_class_prefix: true
add_member_class_prefix: false
filename: prompt_node_api.md