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:29] – [%http-header-<header_name>% or just %http-header%] svensearch_engine_ranker:macro_guide [2024-05-14 06:03] (current) – [%domain_as_name% %subdomain_as_name%] 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 695: Line 710:
  
 The macros %article%, %article_title% and %article_summary% will all corrolate to one article in project's article manager . Meaning if you use %article_title% somewhere, it will use %article% from that same randomly chosen article as well. The macros %article%, %article_title% and %article_summary% will all corrolate to one article in project's article manager . Meaning if you use %article_title% somewhere, it will use %article% from that same randomly chosen article as well.
 +
 +===== %domain_as_name%, %subdomain_as_name% =====
 +
 +The macro will generate a friendly name from the domain like **gsa-online.de** becomes **Gsa Online**
 +