Poe API Wrapper – FAQ | MCP Marketplace

✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

Frequently Asked Questions (FAQ) about Poe API Wrapper

Q: What is the Poe API Wrapper? A: The Poe API Wrapper is a tool that simplifies interaction with the Poe.com API. It allows developers to easily integrate Poe’s AI models into their applications for tasks such as generating text, translating languages, and more.

Q: What is UBOS and how does the Poe API Wrapper relate to it? A: UBOS is a Full-stack AI Agent Development Platform designed to help businesses orchestrate AI Agents, connect them with enterprise data, and build custom AI Agents with their own LLM models. The Poe API Wrapper is available on the UBOS Asset Marketplace, providing a way to enhance AI Agent capabilities with seamless integration for data access and automation.

Q: What is MCP, and why is it important? A: MCP (Model Context Protocol) is an open protocol that standardizes how applications provide context to Large Language Models (LLMs). It acts as a bridge allowing AI models to access and interact with external data sources and tools, which is crucial for augmenting their knowledge and capabilities.

Q: What are the key features of the Poe API Wrapper? A: Key features include support for both synchronous and asynchronous requests, authentication with Poe tokens, message automation, chat management, bot management, knowledge base customization, and discovery of available bots and categories.

Q: How do I install the Poe API Wrapper? A: You can install the Poe API Wrapper using pip with the command pip install -U poe-api-wrapper. For Python 3.9+ with auto-proxy, use pip install -U 'poe-api-wrapper[proxy]'.

Q: What are the prerequisites for using the Poe API Wrapper? A: You need a Python environment (3.7+), Poe tokens (p-b and p-lat cookies), and optionally a formkey. Ensure you have the necessary dependencies installed using pip.

Q: How do I obtain the Poe tokens (p-b and p-lat cookies)? A: Sign in to your Poe.com account, open your browser’s developer tools (F12), go to the ‘Application’ or ‘Storage’ tab, find the cookies for poe.com, and copy the values of the p-b and p-lat cookies.

Q: What is the purpose of the formkey, and how do I obtain it? A: The formkey is used to pass Cloudflare challenges. It is optional, as the wrapper can automatically retrieve it. If needed manually, you can find it in the developer tools under Network > gql_POST > Headers > Poe-Formkey or by running window.ereNdsRqhp2Rd3LEW() in the console.

Q: Can I use the Poe API Wrapper to create custom bots? A: Yes, the API wrapper allows you to create, edit, and delete custom bots, as well as customize their knowledge bases.

Q: How do I send messages using the API Wrapper? A: Use the client.send_message(bot, message) function, where bot is the bot’s name and message is the text you want to send. You can also stream responses.

Q: Does the API Wrapper support file attachments? A: Yes, the API wrapper supports sending file attachments using web URLs or local file paths. Supported file types include .pdf, .docx, .txt, .md, .py, .js, .ts, .html, .css, .csv, .c, .cs, .cpp, .lua, .rs, .rb, .go, .java and media files like .png, .jpg, .jpeg, .gif, .mp4, .mov, .mp3, .wav.

Q: How can I contribute to the development of the Poe API Wrapper? A: You can contribute by providing feedback, adding new integrations, helping with open issues, sharing suggestions, reporting bugs, and improving documentation. Check the GitHub repository for more details.

Q: What are the limitations of the API Wrapper? A: Limitations include rate limits, file size limits for attachments (varying by model), and the accuracy of token and word count estimates. Concurrent messaging should be used with caution due to rate limits.

Q: What type of bots can I create using this wrapper? A: You can create various bots for customer service, content creation, data analysis, personalized recommendations, education, and more, tailored to specific tasks and industries.

Q: How do I manage group chats with the Poe API Wrapper? A: The API wrapper supports creating, deleting, and managing group chats with multiple bots. You can send messages to the group and save/load chat history.

Q: How do I stop message generation? A: You can stop message generation by using client.cancel_message(chunk), typically triggered by an event such as pressing a key.

Q: How do I clear conversation context? A: You can clear conversation context using client.chat_break(bot, chatCode) or client.chat_break(bot, chatId).

Q: How do I fetch previous messages? A: Use the function client.get_previous_messages(bot, chatCode, count) or client.get_previous_messages(bot, chatId, count) to retrieve a specified number of previous messages.

Featured Templates

View More

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.