Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
search_engine_ranker:macro_guide [2022-12-21 08:25] – [%cookie-<cookie_name>[;<URL>]%] svensearch_engine_ranker:macro_guide [2023-05-07 07:58] (current) – [Spin Syntax explained] sven
Line 41: Line 41:
 Output 3: Sentence 2. Sentence 2. Sentence 1.\\  Output 3: Sentence 2. Sentence 2. Sentence 1.\\ 
  
 +You can also use **nested spin syntax** where you put one spin syntax in another like: {This **{was|is}** wonderful.|Thank{ you| you all|s}}
  
 ===== #file_links[<filename or url>,<number of lines>,<line output>] ===== ===== #file_links[<filename or url>,<number of lines>,<line output>] =====
Line 245: Line 246:
  
 Make sure you sign up at [[https://inferkit.com/|https://inferkit.com/]] for an API-KEY. The API Key must have been entered once while in the Article Manager and add a GPT3 generated article. Make sure you sign up at [[https://inferkit.com/|https://inferkit.com/]] for an API-KEY. The API Key must have been entered once while in the Article Manager and add a GPT3 generated article.
 +
 +===== #openai[<model>,<prompt or template>,<amount of words>,<keyword>,<temperature>,<language>] =====
 +
 +This will create a text based on the prompt using the AI model "**model**", the temperature "**temperature**" (optional) and **language** (optional).
 +You can also use a custom template defined in //openai.dat// file (Science Article,Case Study,...). If you use just the template, you also need to define the **<amount of words>** and **<keyword>**.
 +Make sure you have defined your OpenAI API Key before when e.g. adding an article in article manager ones.
 +
 +Example: #openai[gpt-3.5-turbo,write a positive sentence about humans.]\\ 
 +Output: Humans have managed not to kill themselves as a species (yet).\\ 
 +
 +Example: #openai[gpt-4,Case Study,10,SEO Software,0.7]\\
 +Output: A case study about SEO Software would be very nice.
 +
 +
  
 ===== %random-<min>-<max>% ===== ===== %random-<min>-<max>% =====
Line 571: Line 586:
  
 This will get return the full http header (including GET/Post reply code) or just a specific one if defined along with the macro. This will get return the full http header (including GET/Post reply code) or just a specific one if defined along with the macro.
 +<code>
 +[last_used_user_agent]
 +type=extract
 +input=%http-header-user-agent%
 +</code>
 +<code>
 +[last_reply_code]
 +type=extract
 +input=%http-header%
 +front1=HTTP/1.1|HTTP/1.0
 +back=" "
 +</code>
 ===== %datetime-<format_string>% ===== ===== %datetime-<format_string>% =====