poe-api-wrapper  by snowby666

Python SDK for Poe.com, providing free access to multiple LLMs

created 2 years ago
1,113 stars

Top 35.0% on sourcepulse

GitHubView on GitHub
Project Summary

This Python library provides a comprehensive API wrapper for Poe.com, enabling users to access and interact with various large language models like GPT-4, Claude, and Gemini. It targets developers and power users looking to integrate Poe's capabilities into their applications or workflows, offering a unified interface to a wide range of AI models.

How It Works

The wrapper leverages Poe's underlying API, requiring users to authenticate using their Poe account cookies (p-b and p-lat). It supports both synchronous and asynchronous operations, allowing for flexible integration. A key feature is its ability to act as an OpenAI-compatible proxy server, enabling existing OpenAI SDKs and tools to interact with Poe models seamlessly.

Quick Start & Requirements

  • Install: pip install -U poe-api-wrapper or pip install -U 'poe-api-wrapper[proxy]' for auto-proxy support.
  • Authentication: Requires p-b and p-lat cookies from poe.com.
  • Documentation: https://github.com/snowby666/poe-api-wrapper

Highlighted Details

  • Supports a wide array of Poe bots, including GPT-4, Claude 3 variants, Gemini, and Llama models, with detailed token limits.
  • Offers an OpenAI-compatible API proxy server for seamless integration with existing tools.
  • Enables advanced features like file attachments, custom bot creation, and group chat management.
  • Provides utilities for managing chat history, purging messages, and sharing conversations.

Maintenance & Community

  • The project is maintained by snowby666.
  • Contribution guidelines and a list of contributors are available.

Licensing & Compatibility

  • Licensed under GNU GPL v3. This license is copyleft, meaning derivative works must also be distributed under the GPL.
  • Compatibility for commercial use or linking with closed-source projects may be restricted due to the GPLv3 license.

Limitations & Caveats

The library's functionality is dependent on Poe.com's API, which is not officially supported and may change without notice, potentially breaking the wrapper. Token limits and model capabilities are approximations as Poe's internal workings are private.

Health Check
Last commit

1 week ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
42 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.