mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-12-22 12:38:45 +00:00
* feat: Update ConversationalAgent * Add Tools * Add test * Change default params * fix tests * Fix circular import error * Update conversational-agent prompt * Add conversational-agent-without-tools to legacy list * Add warning to add tools to conversational agent * Add callable tools * Add example script * Fix linter errors * Update ConversationalAgent depending on the existance of tools * Initialize the base Agent with different arguments when there's tool * Inject memory to the prompt in both cases, update prompts accordingly * Override the add_tools method to prevent adding tools to ConversationalAgent without tools * Update test * Fix linter error * Remove unused import * Update docstrings and api reference * Fix imports and doc string code snippet * docstrings update * Update conversational.py * Mock PromptNode * Prevent circular import error * Add max_steps to the ConversationalAgent * Update resolver description * Add prompt_template as parameter * Change docstring --------- Co-authored-by: Darja Fokina <daria.f93@gmail.com>
27 lines
755 B
YAML
27 lines
755 B
YAML
loaders:
|
|
- type: python
|
|
search_path: [../../../haystack/agents]
|
|
modules: ['base', 'conversational']
|
|
ignore_when_discovered: ['__init__']
|
|
processors:
|
|
- type: filter
|
|
expression:
|
|
documented_only: true
|
|
do_not_filter_modules: false
|
|
skip_empty_modules: true
|
|
- type: smart
|
|
- type: crossref
|
|
renderer:
|
|
type: renderers.ReadmeRenderer
|
|
excerpt: Uses a large language model to answer complex queries that require multiple steps to find the correct answer.
|
|
category_slug: haystack-classes
|
|
title: Agent API
|
|
slug: agent-api
|
|
order: 0
|
|
markdown:
|
|
descriptive_class_title: false
|
|
descriptive_module_title: true
|
|
add_method_class_prefix: true
|
|
add_member_class_prefix: false
|
|
filename: agent_api.md
|