/poe-api
Source: poe-api-docs Category: Development & API
Build Poe bots with the API.
What It Does
- Generates Poe bot code using the documented patterns
- References actual message formats, file types, rate limits from the SOPs
- Helps with custom parameters using the documented options
- Debugs bot issues using the specific troubleshooting content
- Creates bots that handle files, streaming, custom configs correctly
Example Usage
Input: "Build a Poe bot that accepts images and analyzes them"
Skill Response:
- Generates bot code using actual file handling docs
- Sets up image processing
- Handles streaming responses
- Includes error handling
Capabilities
| Action | Description |
|---|---|
| Bot Creation | Create new Poe bots from scratch |
| File Handling | Accept and process images, documents |
| Streaming | Implement streaming responses |
| Custom Parameters | Add custom configuration options |
| Debugging | Fix bot issues |
Bot Types
The skill can help build:
- Simple text bots
- Image analysis bots
- Document processing bots
- Multi-modal bots
- Bots with custom UIs
Code Structure
python
from fastapi_poe import PoeBot, run
class MyBot(PoeBot):
async def get_response(self, query):
# Handle incoming message
# Process attachments if present
# Stream response back
yield "Response text"Quick Start
/poe-apiSkill will ask what kind of bot you want to build, then generate the code.