agent: |
HiKREGxdrvKo5GqKt5AdSetup your Environment (dkproxy setup)
Setup your Environment (dkproxy setup)
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
inputs
outputs
- 1bKNkiFnFdtiEIwD4f59jCheckout this dkproxy repo.
1
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputsgit clone https://github.com/dagknows/dkproxy.gitcopied1 - 2jCIdxsiah5zbsu4G8HiNInstall required packages (dkproxy setup)
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.
inputsoutputscd dkproxy && sh install.shcopied2 - 3KWoEKJlZqmSyfdIFnEI0Configure DagKnows CLI
3
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:
inputsoutputsdk config initcopied3- 3.1lixiRZr08U3zOPHkWFWSSpecify the DagKnows server
3.1
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
inputsoutputs3.1 - 3.2XzzZK3bTGLKpZqD17tPeCreate a token from DagKnows settings
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.- Log into your DagKnows account
- Click on "Adjust Settings" in the left navigation bar
- Look for the "Generate Access Token"
- provide a label for the proxy. Like myproxy or dev or prod something. Use only alphanumeric characters.
- Specify the validity period of the token. Like 1 year or something.
- Click Generate
- This creates a row in the token table. Each row has a copy button to copy the token.
- Copy the token and use it in the next step
inputsoutputs3.2 - 3.3NIKY7oLH6mbcioG2kcj3Provide a token
3.3
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
inputsoutputs3.3
- 4bomCaY80Qm0b0NxafbWQInstall your Proxy
4
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. Use only alphanumeric characters.
inputsoutputssh install_proxy.sh {{PROXY_NAME}} eg: sh install_proxy.sh myproxycopied4