Skip to content

Commit

Permalink
deploy: 5bab69a
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 26, 2024
1 parent 6e564a8 commit af168db
Show file tree
Hide file tree
Showing 536 changed files with 576 additions and 542 deletions.
2 changes: 1 addition & 1 deletion about.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:53.6582364Z'>
<meta name='date' content='2024-11-26T08:26:45.9371820Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>About Us</title>
Expand Down
2 changes: 1 addition & 1 deletion access-http-specific-features-in-services.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:53.8601051Z'>
<meta name='date' content='2024-11-26T08:26:46.1288883Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Access HTTP-specific Features in Services</title>
Expand Down
2 changes: 1 addition & 1 deletion add-servicestack-reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:53.8635889Z'>
<meta name='date' content='2024-11-26T08:26:46.1322677Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Add ServiceStack Reference</title>
Expand Down
2 changes: 1 addition & 1 deletion adhoc-utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:53.8671140Z'>
<meta name='date' content='2024-11-26T08:26:46.1357118Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Adhoc Utils</title>
Expand Down
2 changes: 1 addition & 1 deletion admin-ui-database.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:53.8700295Z'>
<meta name='date' content='2024-11-26T08:26:46.1389884Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Database Admin</title>
Expand Down
2 changes: 1 addition & 1 deletion admin-ui-features.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:53.8732815Z'>
<meta name='date' content='2024-11-26T08:26:46.1422916Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Admin UI Features</title>
Expand Down
2 changes: 1 addition & 1 deletion admin-ui-identity-users.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:53.8765507Z'>
<meta name='date' content='2024-11-26T08:26:46.1458111Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Identity User Admin Feature</title>
Expand Down
2 changes: 1 addition & 1 deletion admin-ui-profiling.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:53.8798047Z'>
<meta name='date' content='2024-11-26T08:26:46.1491059Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Logging &amp; Profiling UI</title>
Expand Down
2 changes: 1 addition & 1 deletion admin-ui-redis.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:53.8832674Z'>
<meta name='date' content='2024-11-26T08:26:46.1522841Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Redis Admin</title>
Expand Down
2 changes: 1 addition & 1 deletion admin-ui-users.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:53.8866098Z'>
<meta name='date' content='2024-11-26T08:26:46.1554231Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>User Admin Feature</title>
Expand Down
2 changes: 1 addition & 1 deletion admin-ui-validation.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:53.8896605Z'>
<meta name='date' content='2024-11-26T08:26:46.1584865Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Admin UI Validation</title>
Expand Down
2 changes: 1 addition & 1 deletion admin-ui.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:53.8927530Z'>
<meta name='date' content='2024-11-26T08:26:46.1615208Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Admin UI</title>
Expand Down
2 changes: 1 addition & 1 deletion advanced-deployment-octopus-deploy.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:53.8961361Z'>
<meta name='date' content='2024-11-26T08:26:46.1645838Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Advanced Deployments with Octopus Deploy</title>
Expand Down
2 changes: 1 addition & 1 deletion advantages-of-message-based-web-services.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:53.8993253Z'>
<meta name='date' content='2024-11-26T08:26:46.1676726Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Advantages of message-based WebServices</title>
Expand Down
41 changes: 36 additions & 5 deletions ai-server/chat.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:54.6918163Z'>
<meta name='date' content='2024-11-26T08:26:46.9975761Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>AI Server API Usage</title>
Expand Down Expand Up @@ -341,7 +341,7 @@ <h3 id="sync-open-ai-chat-completion">Sync Open AI Chat Completion<a class="head
</div></p>
<p>This request will generate a response from the <code>llama3:8b</code> model using the <code>system</code> and <code>user</code> messages provided. This will perform the operation synchronously, waiting for the response to be generated before returning it to the client.</p>
<p>Alternatively, you can call the same endpoint asynchronously by using the <code>/api/QueueOpenAiChatCompletion</code> endpoint. This will queue the request for processing and return a URL to check the status of the request and download the response when it's ready.</p>
<h3 id="async-queue-open-ai-chat-completion">Async Queue Open AI Chat Completion<a class="header-anchor" href="javascript:;" onclick="location.hash='#async-queue-open-ai-chat-completion'" aria-label="Permalink">&ZeroWidthSpace;</a></h3>
<h3 id="queued-open-ai-chat-completion">Queued Open AI Chat Completion<a class="header-anchor" href="javascript:;" onclick="location.hash='#queued-open-ai-chat-completion'" aria-label="Permalink">&ZeroWidthSpace;</a></h3>
<p><div><pre><code class="language-csharp">var client = GetLocalApiClient(AiServerUrl);

var response = client.Post(new QueueOpenAiChatCompletion
Expand Down Expand Up @@ -379,6 +379,32 @@ <h3 id="async-queue-open-ai-chat-completion">Async Queue Open AI Chat Completion
<ul>
<li><strong>ReplyTo</strong>: A URL to send a POST request to when the request is complete.</li>
</ul>
<h2 id="open-ai-chat-with-replyto-callback">Open AI Chat with ReplyTo Callback<a class="header-anchor" href="javascript:;" onclick="location.hash='#open-ai-chat-with-replyto-callback'" aria-label="Permalink">&ZeroWidthSpace;</a></h2>
<p>The Queued API also accepts a <strong>ReplyTo Web Callback</strong> for a more reliable push-based App integration
where responses are posted back to a custom URL Endpoint:</p>
<pre><code class="language-csharp">var correlationId = Guid.NewGuid().ToString(&quot;N&quot;);
var response = client.Post(new QueueOpenAiChatCompletion
{
//...
ReplyTo = $&quot;https://example.org/api/OpenAiChatResponseCallback?CorrelationId=${correlationId}&quot;
});
</code></pre>
<p>Your callback can add any additional metadata on the callback to assist your App in correlating the response with
the initiating request which just needs to contain the properties of the <code>OpenAiChatResponse</code> you're interested in
along with any metadata added to the callback URL, e.g:</p>
<pre><code class="language-csharp">public class OpenAiChatResponseCallback : IPost, OpenAiChatResponse, IReturnVoid
{
public Guid CorrelationId { get; set; }
}

public object Post(OpenAiChatResponseCallback request)
{
// Handle OpenAiChatResponse callabck
}
</code></pre>
<p>Unless your callback API is restricted to only accept requests from your AI Server, you should include a
unique Id like a <code>Guid</code> in the callback URL that can be validated against an initiating request to ensure
the callback can't be spoofed.</p>
<h2 id="using-the-ai-server-request-dtos-with-other-openai-compatible-apis">Using the AI Server Request DTOs with other OpenAI compatible APIs<a class="header-anchor" href="javascript:;" onclick="location.hash='#using-the-ai-server-request-dtos-with-other-openai-compatible-apis'" aria-label="Permalink">&ZeroWidthSpace;</a></h2>
<p>One advantage of using AI Server is that it provides a common set of request DTOs in 11 different languages that are compatible with OpenAI's API. This allows you to switch between OpenAI and AI Server without changing your client code.
This means you can switch to using typed APIs in your preferred language with your existing service providers OpenAI compatible APIs, and optionally switch to AI Server when you're ready to self-host your AI services for better value.</p>
Expand Down Expand Up @@ -460,14 +486,19 @@ <h5 class="text-slate-900 font-semibold mb-4 text-sm leading-6 dark:text-slate-1
Sync Open AI Chat Completion
</span>
</li>
<li data-id="async-queue-open-ai-chat-completion" class="text-gray-500 hover:text-gray-900">
<span v-hash="'#async-queue-open-ai-chat-completion'" class="cursor-pointer flex text-sm transform transition-colors duration-200 py-2">
<li data-id="queued-open-ai-chat-completion" class="text-gray-500 hover:text-gray-900">
<span v-hash="'#queued-open-ai-chat-completion'" class="cursor-pointer flex text-sm transform transition-colors duration-200 py-2">
<svg width="3" height="24" viewBox="0 -9 3 24" class="mr-2 overflow-visible"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg>
Async Queue Open AI Chat Completion
Queued Open AI Chat Completion
</span>
</li>
</ul>
</li>
<li class="group text-gray-800 hover:text-gray-900">
<span v-hash="'#open-ai-chat-with-replyto-callback'" data-id="open-ai-chat-with-replyto-callback" class="cursor-pointer font-medium block text-sm transform transition-colors duration-200 py-2">
Open AI Chat with ReplyTo Callback
</span>
</li>
<li class="group text-gray-800 hover:text-gray-900">
<span v-hash="'#using-the-ai-server-request-dtos-with-other-openai-compatible-apis'" data-id="using-the-ai-server-request-dtos-with-other-openai-compatible-apis" class="cursor-pointer font-medium block text-sm transform transition-colors duration-200 py-2">
Using the AI Server Request DTOs with other OpenAI compatible APIs
Expand Down
9 changes: 6 additions & 3 deletions ai-server/comfy-extension.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:54.6937147Z'>
<meta name='date' content='2024-11-26T08:26:46.9995388Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>ComfyUI Agent</title>
Expand Down Expand Up @@ -344,8 +344,11 @@ <h3 id="accessing-the-comfyui-agent">Accessing the ComfyUI Agent<a class="header
The AI Server has pre-defined workflows to interact with your ComfyUI Agent instance to generate images, audio, text, and more.</p>
<h3 id="overriding-workflows">Overriding Workflows<a class="header-anchor" href="javascript:;" onclick="location.hash='#overriding-workflows'" aria-label="Permalink">&ZeroWidthSpace;</a></h3>
<p>These workflows are found in the AI Server AppHost project under <code>workflows</code>. These are templated JSON versions of workflows you save in the ComfyUI web interface.</p>
<p>You can override these workflows by creating a new JSON file with the same name and path but in the <code>App_Data/overrides</code> folder. For example, to override the <code>text_to_image</code> workflow, you would create a file at <code>App_Data/overrides/text_to_image.json</code>.
This would override all calls that use text-to-image workflow sent to your ComfyUI Agent instance. You can also override just <code>flux-schnell</code> by creating a file at <code>App_Data/overrides/flux1/text_to_image.json</code>, and Stable Diffusion 3.5 at <code>App_Data/overrides/sd35/text_to_image.json</code>.</p>
<p>You can override these workflows by creating a new JSON file with the same name and path but in the <code>App_Data/overrides</code> folder.</p>
<p>E.g. to override the <code>text_to_image</code> workflow, you would create a file at <code>App_Data/overrides/text_to_image.json</code></p>
<p>This would override all calls that use text-to-image workflow sent to your ComfyUI Agent instance.</p>
<p>You can also override just <code>flux-schnell</code> by creating a file at <code>App_Data/overrides/flux1/text_to_image.json</code>
and Stable Diffusion 3.5 at <code>App_Data/overrides/sd35/text_to_image.json</code>.</p>
</div>

<div class="not-prose"></div>
Expand Down
2 changes: 1 addition & 1 deletion ai-server/configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:54.6955200Z'>
<meta name='date' content='2024-11-26T08:26:47.0014091Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Configuring AI Server</title>
Expand Down
2 changes: 1 addition & 1 deletion ai-server/image-to-image.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:54.6972819Z'>
<meta name='date' content='2024-11-26T08:26:47.0032656Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Image to Image</title>
Expand Down
2 changes: 1 addition & 1 deletion ai-server/image-to-text.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:54.6990840Z'>
<meta name='date' content='2024-11-26T08:26:47.0051424Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Image to Text</title>
Expand Down
2 changes: 1 addition & 1 deletion ai-server/image-upscale.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:54.7008605Z'>
<meta name='date' content='2024-11-26T08:26:47.0069526Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Image Upscale</title>
Expand Down
2 changes: 1 addition & 1 deletion ai-server/image-with-mask.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:54.7026263Z'>
<meta name='date' content='2024-11-26T08:26:47.0088038Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Image with Mask</title>
Expand Down
2 changes: 1 addition & 1 deletion ai-server/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:54.7044528Z'>
<meta name='date' content='2024-11-26T08:26:47.0107101Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Quick Start</title>
Expand Down
2 changes: 1 addition & 1 deletion ai-server/ollama.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:54.7062329Z'>
<meta name='date' content='2024-11-26T08:26:47.0125170Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Self-hosted AI Providers with Ollama</title>
Expand Down
2 changes: 1 addition & 1 deletion ai-server/overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:54.7080276Z'>
<meta name='date' content='2024-11-26T08:26:47.0143496Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Overview</title>
Expand Down
2 changes: 1 addition & 1 deletion ai-server/speech-to-text.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:54.7097946Z'>
<meta name='date' content='2024-11-26T08:26:47.0161525Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Speech to Text</title>
Expand Down
2 changes: 1 addition & 1 deletion ai-server/text-to-image.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:54.7115721Z'>
<meta name='date' content='2024-11-26T08:26:47.0179778Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Text to Image</title>
Expand Down
2 changes: 1 addition & 1 deletion ai-server/text-to-speech.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:54.7133252Z'>
<meta name='date' content='2024-11-26T08:26:47.0198417Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Text to Speech</title>
Expand Down
2 changes: 1 addition & 1 deletion ai-server/transform.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gtag('js', new Date()); gtag('config', 'UA-7722718-13');</script>

<meta charset="utf-8"/>
<meta name='date' content='2024-11-26T07:22:54.7151102Z'>
<meta name='date' content='2024-11-26T08:26:47.0216651Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Media Transform</title>
Expand Down
Loading

0 comments on commit af168db

Please sign in to comment.