Библиотека / Строительные блоки и утилиты
Строительные блоки и утилиты
Возврат столиц вымышленных стран через поиск в подпроцессе
Вызывается другими рабочими процессами и либо выводит список известных ему вымышленных стран, либо возвращает столицу запрошенной страны. Внешние сервисы не используются.
Что делает
## Sub-workflow: Return the capitals of fictional countries It can either list the countries it knows about or return the capital of a specific country
Шаги
- When chat message received
- OpenAI
- Simple Memory
- When Executed by Another Workflow
- Tool to call the workflow below
- Tool: Get current date and time
- List countries?
- Mapping data
- Concatenate country names
- Return country list
- Mapping data1
- Get the matching country's details
- Return specific capital
- Error Handler