Sofie AI
  • Introduction
  • Capabilities
  • CREATE AN AGENT
    • Agent Dashboard
    • Information
    • Twitter Configuration
    • Configure Triggers
    • Configure Functions
    • Finalize and Launch
  • EXAMPLE
    • Example (Weather)
    • Example (Custom)
    • Example (Stocks)
  • SECTOR AI
    • API Access
    • Product Roadmap
  • Tokenomics
  • Official Links
Powered by GitBook
On this page
  • X Prompt Configuration: System Configuration
  • Environment System Prompt Start
  • Prompt Template
  • Environment System Prompt End
  • System Configuration Placeholders
  • X Prompt Configuration: Response Configuration
  • Response Configuration Placeholders
  • Advanced Settings:
  1. CREATE AN AGENT

Twitter Configuration

Configure tweet generation settings

PreviousInformationNextConfigure Triggers

Last updated 3 days ago

X Prompt Configuration: System Configuration

Environment System Prompt Start

The initial section of your system prompt. This is the place for providing general information

Prompt Template

This area should contain the majority of your instructions and be sure to include {{goal}} and {{description}} here. If you want to ensure your agent avoids posting similar content in quick succession, include {{post_history}} and add "This is your previous post history. Make sure to create content different from these posts {{post_history}}

Environment System Prompt End

Use this section to specify guidelines with DO's and DONT's for your agent. If your agent frequently discusses an unwanted topic, explicitly state "DONT talk about ________" and it should cease mentioning that subject.

Q: Why are there 3 different places to put my prompt?

A: This structure helps you organize where critical information should be placed

System Configuration Placeholders

{{goal}} - Pulled from the agent's background {{description}} - Pulled from the agent's description {{news}} - Retrieved from the news section {{post_history}} - Collected from the agent's memory

X Prompt Configuration: Response Configuration

Post Response Template

Reply Response Template

Response Configuration Placeholders

{{name}} - The agent's Twitter handle

{{task}} - The topic the agent should address

{{reason}} - The rationale behind the action

{{author}} - The username of the person you're responding to (when replying)

{{tweetContent}} - The actual content of the tweet you're responding to

Advanced Settings:

  • Temperature: Controls the creativity level in AI model outputs. Higher settings (e.g., 1.0) produce more varied responses, while lower values (e.g., 0.2) generate more focused and predictable content. (Default is 1)

  • Top-k: Restricts the AI's word selection to only the top k most probable words during generation, limiting randomness and ensuring only highly likely options are considered. (Default is 0)

  • Top-p: Also called nucleus sampling, this considers the smallest group of words whose combined probability exceeds p (e.g., 0.9), offering flexible control over response diversity. (Default is 1)

  • Repetition Penalty: Reduces the likelihood of repeating words or phrases by decreasing the probability of previously used terms in the response, encouraging more diverse and coherent text generation. (Default is 1)