Changelog

Added

v0.0.65 Parameter Controls

Feature release for Parameter Controls, a new setting that allows server bots to add additional input elements to their UI on Poe:

Added

v0.0.60 Server bot creators can define and explain variable pricing for their bots

  • New method authorize_cost: used to ensure the user is willing to spend enough points before you make potentially expensive model calls
  • New method capture_cost: used to capture the actual cost after you perform the model calls
  • New setting cost_label: used to show a short pricing string in the Poe UI (e.g. "100+ points")
  • New setting rate_card (previously custom_rate_card): used to provide a more detailed explanation of your pricing structure
Added

v0.0.59 Add get_bot_response_sync

Add get_bot_response_sync, which is a synchronous wrapper around get_bot_response. This allows users to call the function more easily without having to worry about asyncio.

Added

v0.0.57 Support Passing Attachments between Bots

  1. Bots can now pass attachments to each other via fp.stream_request. To do this, call the post_message_attachment function, which continues to work like before, but will now also implicitly emit a file event to other server bots calling it. Calling bots will receive the file in the attachment field of a PartialResponse from the bot.
  2. OpenAI tool calling improvement: the request will finish without making an extra unnecessary second call to the OpenAI bot if no tools are decided to be called. This saves cost to the user.
Added

v0.0.56 Add DataResponse

This release adds the new DataResponse object which bots can yield to attach a metadata string to their response. This string can be accessed in the metadata field of the associated ProtocolMessage in future requests to the bot. This is useful for storing additional information about previous messages in the conversation.