# Allow inline AI source inside AI prompts

**URL:** <https://forum.seocontentmachine.com/t/allow-inline-ai-source-inside-ai-prompts/430>\
**Category:** feature\
**Tags:** article-creator, done\
**Created:** [July 31, 2024, 11:54am UTC](https://forum.seocontentmachine.com/t/allow-inline-ai-source-inside-ai-prompts/430 "2024-07-31T11:54:50Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![rcimedia](https://forum.seocontentmachine.com/letter_avatar_proxy/v4/letter/r/5fc32e/32.png) [@rcimedia](https://forum.seocontentmachine.com/u/rcimedia)\
**Post date:** [July 31, 2024, 11:54am UTC](https://forum.seocontentmachine.com/t/allow-inline-ai-source-inside-ai-prompts/430/1 "2024-07-31T11:54:50Z")

</div>

Right now it seems you can only choose 1 AI source/model per article creator setting. I was hoping there was a way to (optionally) designate which source/model per request.

%TITLE1% = [“OpenAI | GTP 3.5”: "Write a title on “%keyword%”]  
%OUTLINE1% = [“Groq | 70B”: Write an article based on %TITLE1%]

This may sound unimportant … but, as you know:

There are free AI models, cheap AI models, and high-end AI models. For many tasks within a single article creator, you can use free/cheap AI models because the high end models are not needed, but sometimes you need them. And these tasks all fall within a single Article Creator run.

OPENROUTER AND HUGGINGFACE???  
Also, please add OpenRouter and HuggingFace AI models. These are the best deals on AI right now and you won’t have to keep adding new AI models much more because Openrouter has just about every model from all companies. HuggingFace for Open-Source models which many are free and can be just as good.

---

<div class="post-metadata">

**Author:** ![rcimedia](https://forum.seocontentmachine.com/letter_avatar_proxy/v4/letter/r/5fc32e/32.png) [@rcimedia](https://forum.seocontentmachine.com/u/rcimedia)\
**Post date:** [July 31, 2024, 2:17pm UTC](https://forum.seocontentmachine.com/t/allow-inline-ai-source-inside-ai-prompts/430/2 "2024-07-31T14:17:15Z")

</div>

ETA … I was able to use OpenRouter with OpenAI alt … I think HuggingFace can also use it.

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [July 31, 2024, 6:48pm UTC](https://forum.seocontentmachine.com/t/allow-inline-ai-source-inside-ai-prompts/430/3 "2024-07-31T18:48:32Z")

</div>

Hugging face models are free but api is paid.

You can also run hugging face models via LM Studio.

Do you have a prompt you want to run with inline model selection?

Like example that I can build a test case around

---

<div class="post-metadata">

**Author:** ![rcimedia](https://forum.seocontentmachine.com/letter_avatar_proxy/v4/letter/r/5fc32e/32.png) [@rcimedia](https://forum.seocontentmachine.com/u/rcimedia)\
**Post date:** [July 31, 2024, 7:44pm UTC](https://forum.seocontentmachine.com/t/allow-inline-ai-source-inside-ai-prompts/430/4 "2024-07-31T19:44:48Z")

</div>

Yes … you can use the example i gave earlier … where a title is created using OpenAI and an OUTLINE is created using Groq.

> [@rcimedia](#):
>
> %TITLE1% = [“OpenAI | GPT 3.5”: "Write a title on “%keyword%”]  
> %OUTLINE1% = [“Groq | 70B”: Write an outline based on %TITLE1%]

FYI … HuggingFace API does have a free tier, but it is limited.

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [July 31, 2024, 10:32pm UTC](https://forum.seocontentmachine.com/t/allow-inline-ai-source-inside-ai-prompts/430/5 "2024-07-31T22:32:34Z")

</div>

> [@rcimedia](#):
>
> HuggingFace API

Didn’t know that! I can add it, although last time I looked it was pretty expensive.

I re-opened feature request for inline ai models in prompts

> [@Specify AI model to use in prompts](https://forum.seocontentmachine.com/t/specify-ai-model-to-use-in-prompts/151/18):
>
> Will add inline ai service and model selection FYI … HuggingFace API does have a free tier, but it is limited.

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [August 1, 2024, 3:28am UTC](https://forum.seocontentmachine.com/t/allow-inline-ai-source-inside-ai-prompts/430/6 "2024-08-01T03:28:47Z")

</div>

Format will be  
`[service name | model name : prompt]`

If correctly parsed, the prompt will be colored:

- service name will be purple
- model name is green

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/2/24f0c6c33a5562c41ebc50c0f0bf4ba1f61c16ce.png)

Inside the task log

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/2/2d10f9adaa481e95c073a9febefda17290d5c52a.png)

Print of service name and model name

Service name is from this list:  
aka same as dropdown

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/b/b80e9d6551691226edc0d5f4618c5dd9601ab85a.png)

---

<div class="post-metadata">

**Author:** ![rcimedia](https://forum.seocontentmachine.com/letter_avatar_proxy/v4/letter/r/5fc32e/32.png) [@rcimedia](https://forum.seocontentmachine.com/u/rcimedia)\
**Post date:** [August 3, 2024, 3:47pm UTC](https://forum.seocontentmachine.com/t/allow-inline-ai-source-inside-ai-prompts/430/7 "2024-08-03T15:47:58Z")

</div>

Can you allow us to pass the temperature parameter inline as well?

REASON: To create proper articles, some queries need low temp for accurate focused results (“extract keywords”) and others need higher temps for creative text (“paraphrase this text”)… all within the same task.

EXAMPLE:  
[service name | model name| temperature : prompt]

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [August 7, 2024, 1:11am UTC](https://forum.seocontentmachine.com/t/allow-inline-ai-source-inside-ai-prompts/430/8 "2024-08-07T01:11:14Z")

</div>

For inline, its getting a bit too long to have that many parameters that are not named.

I’m also worried about the simple prompt parser I built to do the service/model detection in prompt. It might make it very brittle and prone to error with edge cases.

I can try to add it but there are other parameters like presence etc, that the super user might want to add. I think it would be better to allow something that gives 100% control of all parameters, not just the temperature.

Not sure how to do this though, ideally it should be all named parameters in prompt eg:

[{service:open ai,model:gpt4,presence:1,temperature:1, prompt: ‘write a title’}]

However this might mean spintax can’t be used, so we might have to test different coding formats.

Another option is that you have unlimited custom ais, and just create your own ‘service’ and keep to the service:ai model format.

Ie add more openai alt#3, openai alt#4 etc

---

<div class="post-metadata">

**Author:** ![rcimedia](https://forum.seocontentmachine.com/letter_avatar_proxy/v4/letter/r/5fc32e/32.png) [@rcimedia](https://forum.seocontentmachine.com/u/rcimedia)\
**Post date:** [August 7, 2024, 5:47am UTC](https://forum.seocontentmachine.com/t/allow-inline-ai-source-inside-ai-prompts/430/9 "2024-08-07T05:47:20Z")

</div>

I think this can be solved going back to my Universal webhook request … allow the user to create as many APIs as they want … then they can just pick the API they want by chosen API Name/ID.

So I might have an API for OpenAI with GPT4 with high temp and another API for OpenAI with GPT4o mini with a low temp. If the user can create as many as they need to, then these extra parameters are no longer needed inline.

The Universal Webhook solves many issues.

So Prompt would be:

```auto
[Webhook API NameID: prompt]

```

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [August 8, 2024, 2:47am UTC](https://forum.seocontentmachine.com/t/allow-inline-ai-source-inside-ai-prompts/430/10 "2024-08-08T02:47:45Z")

</div>

Agreed, this seems like the best solution to try

---

<div class="post-metadata">

**Author:** ![bukit](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/bukit/32/546_2.png) [@bukit](https://forum.seocontentmachine.com/u/bukit)\
**Post date:** [August 8, 2024, 6:48am UTC](https://forum.seocontentmachine.com/t/allow-inline-ai-source-inside-ai-prompts/430/11 "2024-08-08T06:48:10Z")

</div>

> [@Tim](#):
>
> Another option is that you have unlimited custom ais, and just create your own ‘service’ and keep to the service:ai model format.

My vote for this.
