Compare commits

...

9 Commits

Author SHA1 Message Date
sweep-ai[bot] 0dfe7f3ce2 Merge main into sweep/model-selection 2023-11-15 23:56:51 +00:00
sweep-ai[bot] abb17a5acc Merge main into sweep/model-selection 2023-11-15 04:55:22 +00:00
sweep-ai[bot] a259b22811 Merge main into sweep/model-selection 2023-11-15 04:49:35 +00:00
sweep-ai[bot] a001c3097a Merge main into sweep/model-selection 2023-11-15 01:24:45 +00:00
sweep-ai[bot] 33d22d62ff feat: Updated packages/create-llama/templates/READ 2023-11-15 00:55:42 +00:00
sweep-ai[bot] cc6605565e feat: Updated packages/create-llama/.npmrc 2023-11-15 00:51:51 +00:00
sweep-ai[bot] df8746c66a feat/fix: the commit message 2023-11-15 00:43:02 +00:00
sweep-ai[bot] 3862ab7305 feat: Updated packages/create-llama/README.md 2023-11-15 00:39:28 +00:00
sweep-ai[bot] 8d48230808 feat: Updated packages/create-llama/README.md 2023-11-15 00:34:08 +00:00
3 changed files with 28 additions and 6 deletions
+1
View File
@@ -0,0 +1 @@
+22 -6
View File
@@ -67,13 +67,7 @@ You can also replace OpenAI with one of our [dozens of other supported LLMs](htt
The simplest thing to do is run `create-llama` in interactive mode:
```bash
npx create-llama@latest
# or
npm create llama@latest
# or
yarn create llama
# or
pnpm create llama@latest
```
You will be asked for the name of your project, along with other configuration options, something like this:
@@ -86,10 +80,32 @@ 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? Shadcn
✔ Which chat engine would you like to use? SimpleChatEngine
✔ **Please provide your llm of choice (leave blank to skip): …**
✔ Please select a model Model1 / Model2 / Model3
✔ Please provide your API key (leave blank to skip): …
✔ Would you like to use ESLint? … No / Yes
✔ 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.
```
Here is an example:
```bash
>> npm create llama
Need to install the following packages:
create-llama@latest
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
✔ Please select a model Model1 / Model2 / Model3
Creating a new LlamaIndex app in /home/my-app.
```
@@ -16,3 +16,8 @@ To learn more about LlamaIndex, take a look at the following resources:
- [LlamaIndexTS Documentation](https://ts.llamaindex.ai) - learn about LlamaIndex (Typescript features).
You can check out [the LlamaIndexTS GitHub repository](https://github.com/run-llama/LlamaIndexTS) - your feedback and contributions are welcome!
+
+ ### Model Selection
+
+ When creating a new LlamaIndex app, you can select a model to use. The available models are Model1, Model2, and Model3. The selected model will be used in the generated code.