Setup steps for the Q&A app
Environment setup
To run our example app, there are four simple steps to take:
- Clone the Falcon-7b demo template to your OctoAI account by visiting https://octoai.cloud/templates/falcon-7b-demo then clicking "Clone Template."
- If you want to use a different LLM model you can select another demo template. You can also containerize the model and make a custom OctoAI endpoint yourself, by following Build a Container from Python and Create a Custom Endpoint from a Container
- Paste your Endpoint URL in a file called
.env
in the root directory of the project.
ENDPOINT_URL=<your Endpoint URL here>
- Get an API Token from your OctoAI account page.
- Paste your API key in a file called
.env
in the root directory of the project.
OCTOAI_API_TOKEN=<your key here>
The next few pages will walk you through the detailed code in the repo.
Updated 3 months ago
Whatβs Next