Kütüphane / RAG ve Bilgi Bankaları
RAG ve Bilgi Bankaları
Tur Güzergahı E-postalarını OpenAI ve Pinecone ile Yanıtlama
IMAP ile bir müşteri e-postası geldiğinde bir yapay zeka ajanı tur paketlerinin Pinecone vektör deposunda arama yapar ve SMTP ile uygun bir güzergahla yanıt verir.
Ne yapar
## Steps 1. Connect to your Email using the Email Trigger (IMAP) - that reads for any incoming emails from customers. 2. Text Classfier: to classify the type of emails - first time package request, follow-up email or other email and route accordingly 3. Code: Extract the email content and standardise to JSON format return { ID: email.attributes.uid, Date: emailDate, Subject: emailSubject, EmailContent: emailContent, SenderEmail: senderEmail, SenderName: senderName, } 4. Tour Recomendation AI Agent: Give appropiate System Prompt and the references to the Tools available. 5. OpenaAI Model: ChatGPT-4o 6. Simple memory - upto 5 context window length 7. Answer Quetions with Vector Store: Add specific role and instructions to extract the tour packages from the pinecone database. 8. Send Email: Construct the Email response back to the customer with the packages.
Adımlar
- Email Trigger (IMAP)
- OpenRouter Chat Model
- OpenAI Chat Model
- Simple Memory
- Answer questions with a vector store
- Pinecone Vector Store
- Embeddings OpenAI1
- OpenAI Chat Model1
- Tour Recommendation AI Agent
- Format email content
- Route Workflow by Email Type
- Package Response Email
Benzer otomasyonlar
RAG ve Bilgi BankalarıGoogle Drive Belgelerini Bağlama Duyarlı Parçalamayla Pinecone'a Yükle13 adımRAG ve Bilgi BankalarıGoogle Drive Belgelerini Bağlamsal Parçalamayla Pinecone'da İndeksleme13 adımE-posta OtomasyonuE-posta yanıtlarını OpenAI ile özetleme ve onaylama38 adımE-posta OtomasyonuE-posta yanıtlarını OpenAI ile özetleme ve onaylama38 adım