Skip to content

Commit

Permalink
deploy: 108a9d7
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 9, 2024
1 parent 5e76364 commit dde29de
Show file tree
Hide file tree
Showing 529 changed files with 711 additions and 711 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-10-09T03:06:03.3205093Z'>
<meta name='date' content='2024-10-09T03:13:55.7873771Z'>
<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-10-09T03:06:02.5177374Z'>
<meta name='date' content='2024-10-09T03:13:55.9590682Z'>
<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-10-09T03:06:02.5211731Z'>
<meta name='date' content='2024-10-09T03:13:55.9623938Z'>
<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-10-09T03:06:02.5249055Z'>
<meta name='date' content='2024-10-09T03:13:55.9665685Z'>
<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-10-09T03:06:02.5279303Z'>
<meta name='date' content='2024-10-09T03:13:55.9700135Z'>
<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-10-09T03:06:02.5309350Z'>
<meta name='date' content='2024-10-09T03:13:55.9736340Z'>
<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-10-09T03:06:02.5339848Z'>
<meta name='date' content='2024-10-09T03:13:55.9769988Z'>
<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-10-09T03:06:02.5371345Z'>
<meta name='date' content='2024-10-09T03:13:55.9807113Z'>
<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-10-09T03:06:02.5402727Z'>
<meta name='date' content='2024-10-09T03:13:55.9846824Z'>
<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-10-09T03:06:02.5432971Z'>
<meta name='date' content='2024-10-09T03:13:55.9881755Z'>
<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-10-09T03:06:02.5462193Z'>
<meta name='date' content='2024-10-09T03:13:55.9915309Z'>
<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-10-09T03:06:02.5491488Z'>
<meta name='date' content='2024-10-09T03:13:55.9947642Z'>
<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-10-09T03:06:02.5521759Z'>
<meta name='date' content='2024-10-09T03:13:55.9981381Z'>
<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-10-09T03:06:02.5552979Z'>
<meta name='date' content='2024-10-09T03:13:56.0015989Z'>
<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
2 changes: 1 addition & 1 deletion 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-10-09T03:06:01.8616423Z'>
<meta name='date' content='2024-10-09T03:13:56.7887484Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>ComfyUI Extension</title>
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-10-09T03:06:01.8633695Z'>
<meta name='date' content='2024-10-09T03:13:56.7908581Z'>
<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/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-10-09T03:06:01.8651422Z'>
<meta name='date' content='2024-10-09T03:13:56.7928171Z'>
<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/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-10-09T03:06:01.8667676Z'>
<meta name='date' content='2024-10-09T03:13:56.7949279Z'>
<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/quickstart.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-10-09T03:06:01.8682576Z'>
<meta name='date' content='2024-10-09T03:13:56.7967857Z'>
<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/usage.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-10-09T03:06:01.8698066Z'>
<meta name='date' content='2024-10-09T03:13:56.7985438Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>AI Server APIs</title>
Expand Down
2 changes: 1 addition & 1 deletion ai-server/usage/audio-endpoints.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-10-09T03:06:01.8714332Z'>
<meta name='date' content='2024-10-09T03:13:56.8004500Z'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="/img/logo.svg">
<title>Transcribing Audio</title>
Expand Down
34 changes: 17 additions & 17 deletions ai-server/usage/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-10-09T03:06:01.8729656Z'>
<meta name='date' content='2024-10-09T03:13:56.8021808Z'>
<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 @@ -284,22 +284,22 @@ <h1 class="text-4xl tracking-tight font-extrabold text-gray-900 dark:text-gray-5
<h2 id="making-a-chat-request">Making a Chat Request<a class="header-anchor" href="javascript:;" onclick="location.hash='#making-a-chat-request'" aria-label="Permalink">&ZeroWidthSpace;</a></h2>
<p>To make a chat request to AI Server, you can use the <code>/api/OpenAiChatCompletion</code> endpoint. This endpoint requires a <code>OpenAiChatCompletion</code> request DTO that contains a property matching the <code>OpenAI</code> API.</p>
<h3 id="sync-open-ai-chat-completion">Sync Open AI Chat Completion<a class="header-anchor" href="javascript:;" onclick="location.hash='#sync-open-ai-chat-completion'" aria-label="Permalink">&ZeroWidthSpace;</a></h3>
<p><div><pre><code class="language-csharp"> var apiClient = GetLocalApiClient(&quot;https://localhost:5005&quot;);
apiClient.BearerToken = Environment.GetEnvironmentVariable(&quot;AI_SERVER_API_KEY&quot;);

var request = new OpenAiChatCompletion {
Model = &quot;llama3:8b&quot;,
Messages = new List&lt;OpenAiMessage&gt;
{
new OpenAiMessage { Role = &quot;system&quot;, Content = &quot;You are a helpful AI assistant.&quot; },
new OpenAiMessage { Role = &quot;user&quot;, Content = &quot;How do LLMs work?&quot; }
},
MaxTokens = 50
};
var response = await apiClient.PostAsync(request);
var openAiResponse = response; // The same
Console.WriteLine(openAiResponse.Choices[0].Message.Content);
<p><div><pre><code class="language-csharp">var apiClient = GetLocalApiClient(&quot;https://localhost:5005&quot;);
apiClient.BearerToken = Environment.GetEnvironmentVariable(&quot;AI_SERVER_API_KEY&quot;);

var request = new OpenAiChatCompletion {
Model = &quot;llama3:8b&quot;,
Messages = new List&lt;OpenAiMessage&gt;
{
new OpenAiMessage { Role = &quot;system&quot;, Content = &quot;You are a helpful AI assistant.&quot; },
new OpenAiMessage { Role = &quot;user&quot;, Content = &quot;How do LLMs work?&quot; }
},
MaxTokens = 50
};

var response = await apiClient.PostAsync(request);
var openAiResponse = response; // The same
Console.WriteLine(openAiResponse.Choices[0].Message.Content);
</code></pre>

</div></p>
Expand Down
2 changes: 1 addition & 1 deletion ai-server/usage/image-endpoints.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-10-09T03:06:01.8745289Z'>
<meta name='date' content='2024-10-09T03:13:56.8039696Z'>
<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
24 changes: 12 additions & 12 deletions ai-server/usage/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-10-09T03:06:01.8762673Z'>
<meta name='date' content='2024-10-09T03:13:56.8056882Z'>
<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 Expand Up @@ -302,17 +302,17 @@ <h2 id="comfy-ui">Comfy UI<a class="header-anchor" href="javascript:;" onclick="
<p>When configuring the Comfy AI Provider, you can provide the URL of your ComfyUI instance, and any API key required to authenticate with it, and you will get a list of the models available in your ComfyUI instance to enable for the provider.</p>
<h2 id="using-text-to-image">Using Text to Image<a class="header-anchor" href="javascript:;" onclick="location.hash='#using-text-to-image'" aria-label="Permalink">&ZeroWidthSpace;</a></h2>
<p>Once you have configured your AI Server with the providers you want to use, you can make requests to the AI Server API to generate images from text.</p>
<p><div><pre><code class="language-csharp"> var request = new TextToImage()
{
Height = 768,
Width = 768,
Model = &quot;sdxl-lightning&quot;,
PositivePrompt = &quot;A happy llama&quot;,
NegativePrompt = &quot;bad quality, blurry image&quot;
};
var response = client.Post(request);
response.Outputs[0].Url.DownloadFileTo(outputFileName);
<p><div><pre><code class="language-csharp">var request = new TextToImage()
{
Height = 768,
Width = 768,
Model = &quot;sdxl-lightning&quot;,
PositivePrompt = &quot;A happy llama&quot;,
NegativePrompt = &quot;bad quality, blurry image&quot;
};

var response = client.Post(request);
response.Outputs[0].Url.DownloadFileTo(outputFileName);
</code></pre>

</div></p>
Expand Down
Loading

0 comments on commit dde29de

Please sign in to comment.