The flow
Starts it 5Model 7Logic 11Service 3
The steps in the order they run, from what starts it.
- 1Webhook - HR Bot ChatWebhookStarts it
- 2OpenAI Model - TranslationLm Chat Open AiModel
- 3OpenAI GPT-4o-miniLm Chat Open AiModel
- 4PostgreSQL - HR Database ToolPostgres ToolService
- 5OpenAI EmbeddingsEmbeddings Open AiModel
- 6PostgreSQL Chat MemoryMemory Postgres ChatModel
- 7Validate Identity (Mobile/Email)IfLogic
- 8Translate to EnglishChain LlmModel
- 9HR Assistant AI AgentAgentModel
- 10Pinecone - HR Policy Knowledge BaseVector Store PineconeModel
- 11Check Audio InputIfLogic
- 12Error - Invalid Mobile/EmailRespond To WebhookStarts it
- 13Merge Translation ContextSetLogic
- 14Format Final ResponseCodeLogic
- 15ElevenLabs - Transcribe AudioEleven LabsService
- 16Validate MessageIfLogic
- 17Fetch Employee DataPostgresService
- 18Send Success ResponseRespond To WebhookStarts it
- 19Extract TranscriptSetLogic
- 20Parse Input & Detect LanguageCodeLogic
- 21Error - Invalid MessageRespond To WebhookStarts it
- 22Validate EmployeeIfLogic
- 23Needs Translation?IfLogic
- 24Merge Employee & Language ContextCodeLogic
- 25Error - Employee Not FoundRespond To WebhookStarts it
- 26Skip Translation (English)SetLogic