CharacterAI
  • 👋Welcome
  • 🧑‍💻Quick Start
  • 🛠️API
    • 🔑 Values
    • ⚠️ Errors
    • connect
    • ping
    • user
      • info
      • get_profile
      • followers
      • following
      • recent
      • update
    • post
      • get_post
      • my_posts
      • get_posts
      • upvote
      • undo_upvote
      • send_comment
      • delete_comment
      • create
      • delete
      • get_topics
      • feed
    • character
      • create
      • update
      • trending
      • recommended
      • categories
      • info
      • search
      • voices
    • chat
      • create_room
      • rate
      • next_message
      • get_histories
      • get_history
      • get_chat
      • send_message
      • delete_message
      • new_chat
    • chat2
      • next_message
      • send_message
      • get_histories
      • new_chat
      • get_chat
      • get_history
      • rate
      • delete_message
  • 📚Examples
    • Chatting
    • Parse Chat
  • ⚠️Issues
Powered by GitBook
On this page
  • rate [int]
  • chat_id [str]
  • turn_id [str]
  • candidate_id [str]
  • token [str] (optional)
  1. API
  2. chat2

rate

Rate the character's last message

await client.chat2.rate(NUM, 'CHAT_ID', 'TURN_ID', 'CANDIDATE_ID')

rate [int]

A number meaning stars. 0 - Terrible, 1 - Bad, 2 - Good, 3 - Fantastic

chat_id [str]

Unique ID for character history

turn_id [str]

Last message UUID

candidate_id [str]

You can find it at character response

token [str] (optional)

You can set a specific token for the function, it will be executed from the specified token

Previousget_historyNextdelete_message

Last updated 1 year ago

🛠️