docs: add CohereGenerator and ConditionalRouter (#6455)

This commit is contained in:
Daria Fokina 2023-11-30 14:59:14 +01:00 committed by GitHub
parent 19ff30217c
commit 675302981b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
loaders:
- type: loaders.CustomPythonLoader
search_path: [../../../haystack/preview/components/generators]
modules: ["hugging_face_local", "hugging_face_tgi", "openai", "chat/hugging_face_tgi", "chat/openai"]
modules: ["hugging_face_local", "hugging_face_tgi", "openai", "cohere", "chat/hugging_face_tgi", "chat/openai"]
ignore_when_discovered: ["__init__"]
processors:
- type: filter

View File

@ -1,7 +1,7 @@
loaders:
- type: loaders.CustomPythonLoader
search_path: [../../../haystack/preview/components/routers]
modules: ["document_joiner", "file_type_router", "metadata_router", "text_language_router"]
modules: ["document_joiner", "conditional_router", "file_type_router", "metadata_router", "text_language_router"]
ignore_when_discovered: ["__init__"]
processors:
- type: filter