Sign in

Maham Codes

@mahamcodes.bsky.social
11 followers 13 following 34 posts

AI Content Developer > ex Hashnode > ex Rapid (RapidAPI)

PostsRepliesMedia
Maham Codes @mahamcodes.bsky.social · 27/11/2024
🔹 To add an AI assistant prompt, click on the `AI Assistant` button in front of `Add Message By` to write an AI assistant prompt. It will open a text area with the role `AI Assistant`. Write an AI assistant prompt in this text area.
100
Maham Codes @mahamcodes.bsky.social · 27/11/2024
🔹 For adding user prompts, click on the `User` button in front of `Add Message By` to write a user prompt. It will open a text area with the role `User`. Write a user prompt in this text area.
100
Maham Codes @mahamcodes.bsky.social · 27/11/2024
❯❯ How to use these prompts? All of these prompts are present inside an AI agent pipe and can also be customized. These prompts can use variables that make them dynamic. 🔹 To add a system prompt, navigate to any of your Langbase pipes and click on the `System Prompt Instructions` text area.
100
Maham Codes @mahamcodes.bsky.social · 26/11/2024
❯❯ Prompt the LLM model That's it! You have successfully created a RAG system using a memory agent that can chat with your document. Now, you can prompt the LLM model to get answers to your questions. It will search the memory and provide you with the best possible answer to your question.
110
Maham Codes @mahamcodes.bsky.social · 26/11/2024
❯❯ Add memory to an AI agent 1. Create or open an AI agent pipe. 2. In the editor, click `Memory`. 3. Select the memory from the `Search Memory Sets` dropdown.
110
Maham Codes @mahamcodes.bsky.social · 26/11/2024
❯❯ Add document to memory 1. Save the document to be attached in the memory as a PDF or TXT. 2. Open the memory created and upload the file. 3. Click "Refresh" to check the upload status. 4. Once the status is `Ready`, the document is processed and ready to use.
110
Maham Codes @mahamcodes.bsky.social · 26/11/2024
❯❯ Get started 1. Signup on Langbase 2. Click on the `Memory` tab on the left sidebar to open the memory page. 3. Click on the `Add New` button. Enter a name for the new memory. 4. Click on the `Create` button to create the memory.
110