Welcome to our Personal AI Newsletter! Get ready to explore the future of personalized technology. We’re thrilled to introduce you to AI that adapts to you, enhancing your digital life in ways you never imagined. Join us as we showcase how Personal AI can make your daily interactions smarter, more efficient, and tailored just for you.
This week, we will cover essential topics for developers looking to harness the power of AI in their projects. We’ll explore how developers can leverage Personal AI, delve into the flexible APIs that enable custom implementations, and showcase AI tools like instruction and messaging that can enhance your applications. Additionally, we’ll address frequently asked questions to ensure you comprehensively understand Personal AI’s capabilities. Whether you’re a seasoned developer or just starting your AI journey, this newsletter will provide valuable insights to help you create user-centric AI experiences.
Personal AI For Developers
Developers can tap into Personal AI’s power through its API, opening up a world of possibilities. Every Personal AI comes with its own model and server with a custom domain, which means you can integrate it into various applications and services. With our publicly available API, developers can leverage our proprietary PLM to integrate Personal AI into a variety of environments.
Here are some cool ways developers can use Personal AI:
Custom Integrations: Use Zapier to connect Personal AI with thousands of other apps and services. This allows for almost limitless integration possibilities.
Content Generation: Utilize the API to generate content in the user’s unique voice for blogs, social media, or email campaigns.
Automated Responses: Integrate Personal AI into email or messaging systems to draft replies automatically.
Research Assistant: Create applications that use Personal AI as a second brain for research, helping users quickly access and connect ideas from their stored knowledge.
Personal AI APIs
Personal AI revolutionizes development with its cutting-edge, model-specific APIs. These powerful interfaces enable direct interaction with AI models, unlocking customization and advanced implementations. Here are some more examples of how to leverage our APIs:
AI Message: Engage with Personal AI through versatile messaging options. Share text, images, links, videos, or files privately with your AI or with others in DMs or Channels. Enhance your AI’s learning by saving important interactions to its memory — simply tap the + button to store your message. This feature allows you to continuously refine your AI’s understanding and personalization.
Upload URL: Paste in any publicly viewable URL with readable text through an API call. Choose which AI persona you want to train (DomainName), add a descriptive title (Title) and some hashtags for context (Tags). Always save the uploaded link as a draft first and review it in the documents section before stacking (“is_stack: false”. Why? Sometimes the upload process might bring in extra stuff you don’t need, so it’s good to give it a once-over before adding it to your memory stack. You can upload all sorts of content — blogs, newsletters, articles, transcripts, you name it. And guess what? Personal AI even supports YouTube URLs, automatically processing video transcriptions into your memory stack.
AI Memory: Anytime you have information you want your AI to learn and use later. This could be daily thoughts, important notes, or any text you think might be valuable for future reference. You can add files directly, complete questionnaires, or enter text into notes by writing or pasting. The available upload methods may vary based on the memory type you select. This versatility ensures you can easily input and organize your information in the way that works best for you.
Upload Document: When to upload documents to your Personal AI, it’s best to do it as a draft first. This way, you can check for any mistakes before stacking it. It’s all about keeping your data accurate and clean. If you’re dealing with Google Docs or OneDrive, you can upload entire folders. For Gmail or Outlook users, you can sync starred or flagged emails daily. One thing to keep in mind — there’s a 50,000-word limit for file uploads in Personal AI Premium. If your document’s longer, just break it into parts and stack them separately.
To route the API call to a single persona for memory stacking, use the domain name in the curl
The DomainName is the portion of your AI domain that proceeds the “.personal.ai”. For example, “developer” would be the DomainName derived from “developer.personal.ai”
Tags can be added to the request as a way to categorize memory within a memory block. When a keyword in a prompt matches a tag, the AI focuses on the related documents, improving accuracy.
Memory Output
This is an example of what the memory output would look like in Postman and on Personal AI. When this API call is made, the memory block is automatically stacked to the designated AI persona. This is how it would look on the Personal AI side of the process.
“Context” — Message to add additional context to the AI for a response. [Similar to Reply function].
“UserName” — Name of the user sending the request. For example, a name can be inputted so that the AI knows who to address in its response.
“DomainName” — the domain part of the AI profile or channel URL.
“SessionId” — using the same SessionId will keep the same conversation going. This can be used when the requester wants the conversation to be one continuous chain.
Tips:
To route the API call to a single persona or channel, you will include the domain name in the curl
Message Output
This is an example of what the memory output would look like. When this API call is made, the prompt is sent to the AI persona and a response is returned to the user. This is how it would look on the Personal AI side of the process.
Frequently Asked Questions For Developers
How do I get my SessionId?
If no SessionId is passed on the first request, one will be generated for all subsequent requests.
Where do I find my domain name?
Your domain name is the text displayed before the “.personal.ai” in your AI domain. For example, the domain name in “python.personal.ai” would be “python”.
How do I continue the same conversation?
When formatting your curl, use the same SessionId parameter to continue the conversation on that session.
Where do I locate my AI’s API key?
Your API key can be found on Personal AI’s settings page.
How do I message a specific persona?
DomainName
Is there any way I can call the Personal.ai API myself without using Zapier if I am on a Personal plan?
Yes, you can access the Personal AI API directly without using Zapier. You can find more information about the API and its documentation here: https://postman.personal.ai/
How do I connect to Notion?
Zapier can do it for new items or updated items. Use “New Database Item in Notion” as the trigger and “Sync Memory to Personal AI” as the event.
How do I create memories of longer texts?
We added a new API endpoint that allows the stacking of long text into Documents. This will allow you to create memories out of longer text — great for those meeting transcripts and notes! See more here: https://postman.personal.ai/#424657e8-dd67-4c0c-986e-b7b0d102d021
The corresponding Action on Zapier (3.4.0) is “Upload Document”.