Skip to contents

artcurator 0.2.0

New Feature - Interactive Curator Chat

  • New curator_chat_new() function - Creates interactive chat sessions with artist context
    • Returns ellmer Chat object for multi-turn conversations
    • Supports streaming for real-time UI display ($stream())
    • Provider-agnostic (works with Gemini or OpenAI)
    • Artist context loaded automatically from database via get_agent_ctx()
    chat <- curator_chat_new(artist_uuid, provider = "gemini")
    chat$chat("What are this artist's most notable works?")
    stream <- chat$stream("Tell me about their style.")

Dependencies

  • Updated to Imports: artgemini (>= 0.3.0), artopenai (>= 0.11.0)
    • Both packages now provide ellmer Chat objects with streaming support
  • Added to Imports: ellmer (>= 0.4.0)
    • Required for Chat object interface

Integration

Enables modGallery and modArtist to provide interactive curator chat with: - Real-time streaming responses - Multi-turn conversation state management - Session persistence across Shiny modules