Okay, to enter your prompt for Lmarena.ai's arena (battle) directly in the Brave/Chrome URL bar, you need to figure out the correct URL structure that Lmarena.ai uses for its arena battles and then set that up as a custom search engine. Here's how to do it:
1. Determine the Lmarena.ai Arena URL Structure
This is the most important step. You'll need to visit Lmarena.ai and initiate a battle to observe the URL pattern. Here's how:
-
Go to Lmarena.ai: Open your browser and navigate to the Lmarena AI website.
-
Start an Arena Battle: Find the "Arena" or "Battle" section on the site and start a battle with some initial prompts.
-
Examine the URL: Once the battle has started and the page has loaded, carefully examine the URL in your browser's address bar. Look for how the prompts you entered are incorporated into the URL. It might look something like this (this is just an example; the actual URL will be different):
https://lmarena.ai/arena?prompt1=your_first_prompt&prompt2=your_second_prompt
-
Identify the Prompt Placeholders: In the example above, your_first_prompt and your_second_prompt are where your actual prompts are placed in the URL. You'll need to replace these with %s placeholders when setting up the custom search engine.
2. Construct the Custom Search Engine URL
Based on what you find in Step 1, create the custom search engine URL. Let's say, for example, after starting a battle on Lmarena.ai, you see this URL (again, this is just an example):
https://lmarena.ai/arena?prompt1=cat&prompt2=dog
Since you want to enter both prompts in the URL bar, you'll need two %s placeholders. A possible URL setup would look like this:
https://lmarena.ai/arena?prompt1=%s&prompt2=%s
This assumes the first %s will be your first prompt, and the second %s will be your second prompt.
Important Considerations:
- Number of Prompts: The Lmarena AI arena might require more than two prompts. Adjust the URL accordingly, adding more
promptX=%s parameters as needed.
- URL Encoding: If your prompts contain spaces or special characters, they might need to be URL-encoded (e.g., a space becomes
%20). Chrome and Brave usually handle URL encoding automatically, but be aware of it if you encounter problems.