docs: fix homepage link

This commit is contained in:
Arista Indrajaya 2024-03-04 14:38:04 +07:00
parent 544e9fd06f
commit 4aa09e06da
4 changed files with 66 additions and 17 deletions

View File

@ -59,11 +59,12 @@ This guide will show you how to configure Jan as a client and point it to any re
- `ctx_len`: Defined based on the model's context size. - `ctx_len`: Defined based on the model's context size.
- `prompt_template`: Defined based on the model's trained template (e.g., ChatML, Alpaca). - `prompt_template`: Defined based on the model's trained template (e.g., ChatML, Alpaca).
- To set up the `prompt_template`: - To set up the `prompt_template`:
1. Visit Hugging Face. 1. Visit [Hugging Face](https://huggingface.co/), an open-source machine learning platform.
2. Locate the model (e.g., [Gemma 7b it](https://huggingface.co/google/gemma-7b-it)). 2. Find the current model that you're using (e.g., [Gemma 7b it](https://huggingface.co/google/gemma-7b-it)).
3. Review the text and identify the template. 3. Review the text and identify the template.
- In `parameters`, consider the following options. The fields in `parameters` are typically general and can be the same across models. An example is provided below: - In `parameters`, consider the following options. The fields in `parameters` are typically general and can be the same across models. An example is provided below:
```json ```json
"parameters":{ "parameters":{
"temperature": 0.7, "temperature": 0.7,

View File

@ -12,7 +12,7 @@ export default function HomepagePrimaryFeatures() {
<h3>Set up Jan with our guide to install across multiple platform.</h3> <h3>Set up Jan with our guide to install across multiple platform.</h3>
</div> </div>
<div > <div >
<a href={"/quickstart/install"}>Get Started</a> <a href={"/guides/install"}>Get Started</a>
</div> </div>
<div className={styles.cardImage}> <div className={styles.cardImage}>
<img alt={"Card Image"} src={"/img/homepage-new/rocket.png"} /> <img alt={"Card Image"} src={"/img/homepage-new/rocket.png"} />
@ -24,7 +24,7 @@ export default function HomepagePrimaryFeatures() {
<h3>Explore the available pre-configured AI models. </h3> <h3>Explore the available pre-configured AI models. </h3>
</div> </div>
<div > <div >
<a href={"/quickstart/models-list"}>Support</a> <a href={"/guides/models-list"}>Support</a>
</div> </div>
<div className={styles.cardImage}> <div className={styles.cardImage}>
<img alt={"Card Image"} src={"/img/homepage-new/chat.png"} /> <img alt={"Card Image"} src={"/img/homepage-new/chat.png"} />

View File

@ -17,7 +17,7 @@ export default function HomepageSecondaryFeatures() {
</div> </div>
</div> </div>
<div className={styles.cardFooter}> <div className={styles.cardFooter}>
<a href={"/quickstart/"}>Learn Here <a href={"/guides/"}>Learn Here
{/* <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill={"currentColor"}> {/* <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill={"currentColor"}>
<path d="M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"/> <path d="M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"/>
</svg> */} </svg> */}

View File

@ -14,9 +14,21 @@ export default function HomepageTerinaryFeatures() {
<div className={styles.cardContent}> <div className={styles.cardContent}>
<p>Dive into the basics and get set up quickly.</p> <p>Dive into the basics and get set up quickly.</p>
<ul> <ul>
<li>Quickstart</li> <li>
<li>Installation</li> <a href={"/guides/"}>
<li>Pre-configured Models</li> Quickstart
</a>
</li>
<li>
<a href={"/guides/install/"}>
Installation
</a>
</li>
<li>
<a href={"/guides/models-list/"}>
Pre-configured Models
</a>
</li>
</ul> </ul>
</div> </div>
</div> </div>
@ -28,9 +40,21 @@ export default function HomepageTerinaryFeatures() {
<div className={styles.cardContent}> <div className={styles.cardContent}>
<p>Learn the best practices for optimizing thread management and local server use.</p> <p>Learn the best practices for optimizing thread management and local server use.</p>
<ul> <ul>
<li>Thread Management</li> <li>
<li>Local Server</li> <a href={"/guides/start-server/"}>
<li>Advance Settings</li> Thread Management
</a>
</li>
<li>
<a href={"/guides/start-server/"}>
Local Server
</a>
</li>
<li>
<a href={"/guides/advanced-settings/"}>
Advance Settings
</a>
</li>
</ul> </ul>
</div> </div>
</div> </div>
@ -42,9 +66,21 @@ export default function HomepageTerinaryFeatures() {
<div className={styles.cardContent}> <div className={styles.cardContent}>
<p>Explore our key features designed to enhance your experience.</p> <p>Explore our key features designed to enhance your experience.</p>
<ul> <ul>
<li>Advanced Models Setup</li> <li>
<li>Extensions</li> <a href={"/category/advanced-models-setup/"}>
<li>Integrations</li> Advanced Models Setup
</a>
</li>
<li>
<a href={"/category/extensions/"}>
Extensions
</a>
</li>
<li>
<a href={"/category/integrations/"}>
Integrations
</a>
</li>
</ul> </ul>
</div> </div>
</div> </div>
@ -56,9 +92,21 @@ export default function HomepageTerinaryFeatures() {
<div className={styles.cardContent}> <div className={styles.cardContent}>
<p>Find solutions to common issues, including error codes, frequent errors, and FAQs.</p> <p>Find solutions to common issues, including error codes, frequent errors, and FAQs.</p>
<ul> <ul>
<li>Error Codes</li> <li>
<li>Common Errors</li> <a href={"/category/error-codes/"}>
<li>FAQ</li> Error Codes
</a>
</li>
<li>
<a href={"/category/common-error/"}>
Common Errors
</a>
</li>
<li>
<a href={"/category/faq/"}>
FAQ
</a>
</li>
</ul> </ul>
</div> </div>
</div> </div>