-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #181 from run-llama/logan/update_create_llama_readme
create-llama readme update
- Loading branch information
Showing
1 changed file
with
29 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,16 @@ | ||
# Create LlamaIndex App | ||
|
||
The easiest way to get started with LlamaIndex is by using `create-llama`. This CLI tool enables you to quickly start building a new LlamaIndex application, with everything set up for you. | ||
To get started, use the following command: | ||
The easiest way to get started with [LlamaIndex](https://www.llamaindex.ai/) is by using `create-llama`. This CLI tool enables you to quickly start building a new LlamaIndex application, with everything set up for you. | ||
|
||
## Features | ||
|
||
- NextJS, ExpressJS, or FastAPI (python) stateless backend generation 💻 | ||
- Streaming or non-streaming backend ⚡ | ||
- Optional `shadcn` frontend generation 🎨 | ||
|
||
## Get Started | ||
|
||
You can run `create-llama` in interactive or non-interactive mode. | ||
|
||
### Interactive | ||
|
||
|
@@ -17,15 +26,25 @@ yarn create llama | |
pnpm create llama | ||
``` | ||
|
||
You will be asked for the name of your project, and then which framework you want to use | ||
create a TypeScript project: | ||
You will be asked for the name of your project, along with other configuration options. | ||
|
||
Here is an example: | ||
|
||
```bash | ||
>> npm create llama | ||
Need to install the following packages: | ||
[email protected] | ||
Ok to proceed? (y) y | ||
✔ What is your project named? … my-app | ||
✔ Which template would you like to use? › Chat with streaming | ||
✔ Which framework would you like to use? › NextJS | ||
✔ Which UI would you like to use? › Just HTML | ||
✔ Which chat engine would you like to use? › ContextChatEngine | ||
✔ Please provide your OpenAI API key (leave blank to skip): … | ||
✔ Would you like to use ESLint? … No / Yes | ||
Creating a new LlamaIndex app in /home/my-app. | ||
``` | ||
|
||
You can choose between NextJS and Express. | ||
|
||
### Non-interactive | ||
|
||
You can also pass command line arguments to set up a new project | ||
|
@@ -52,3 +71,7 @@ Options: | |
|
||
``` | ||
|
||
## LlamaIndex Documentation | ||
|
||
- [TS/JS docs](https://ts.llamaindex.ai/) | ||
- [Python docs](https://docs.llamaindex.ai/en/stable/) |