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
Last revisionBoth sides next revision
search_engine_ranker:macro_guide [2023-04-17 11:09] – [#openai[<model>,<prompt or template>,<amount of words>,<keyword>,<temperature>]] svensearch_engine_ranker:macro_guide [2024-05-14 06:03] 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 246: Line 247:
 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>] =====+===== #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**" and the temperature "**temperature**" (optional).+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>**. 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. Make sure you have defined your OpenAI API Key before when e.g. adding an article in article manager ones.
Line 709: 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**
 +