Sign in

Setup your Environment (dkproxy setup)

There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
  1. 1

    Checkout this dkproxy repo.

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
    git clone https://github.com/dagknows/dkproxy.git
    copied
    1
  2. 2

    Install required packages (dkproxy setup)

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

    Run the following installer. It will setup all the dependencies needed to run your proxy.

    cd dkproxy && sh install.sh
    copied
    2
  3. 3

    Configure DagKnows CLI

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

    The above installation script also installs the dagknows cli. Configure it with the following command:

    dk config init
    copied
    3
    1. 3.1

      Specify the DagKnows server

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

      Provide https://app.dagknows.com as the DagKnows server

      Enter the api host to make api calls to:[http://localhost]: https://app.dagknows.com 
      

      hit enter

      3.1
    2. 3.2

      Create a token from DagKnows settings

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
      1. Log into your DagKnows account
      2. Click on "Adjust Settings" in the left navigation bar
      3. Look for the "Generate Access Token"
      4. provide a label for the proxy. Like myproxy or dev or prod something
      5. Specify the validity period of the token. Like 1 year or something.
      6. Click Generate
      7. This creates a row in the token table. Each row has a copy button to copy the token.
      8. Copy the token and use it in the next step
      3.2
    3. 3.3

      Provide a token

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
      Enter an access token: : <paste the token from previous step>
      

      hit enter


      That completes your DagKnows CLI config

      3.3
  4. 4

    Install your Proxy

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

    Now you can install DagKnows proxy. Just pick a proxy name, preferably the same as the label you used for the token and then run the following command.

    sh install_proxy.sh {{PROXY_NAME}} eg: sh install_proxy.sh myproxy
    copied
    4