Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Create Llama
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
MachineLearning
run-llama
Create Llama
Commits
3404a404
Commit
3404a404
authored
1 year ago
by
Marcus Schiesser
Browse files
Options
Downloads
Patches
Plain Diff
fix: added model parameter to create-llama
parent
5baac738
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
index.ts
+14
-1
14 additions, 1 deletion
index.ts
with
14 additions
and
1 deletion
index.ts
+
14
−
1
View file @
3404a404
...
@@ -66,37 +66,50 @@ const program = new Commander.Command(packageJson.name)
...
@@ -66,37 +66,50 @@ const program = new Commander.Command(packageJson.name)
.
option
(
.
option
(
"
--template <template>
"
,
"
--template <template>
"
,
`
`
Select a template to bootstrap the application with.
Select a template to bootstrap the application with.
`
,
`
,
)
)
.
option
(
.
option
(
"
--engine <engine>
"
,
"
--engine <engine>
"
,
`
`
Select a chat engine to bootstrap the application with.
Select a chat engine to bootstrap the application with.
`
,
`
,
)
)
.
option
(
.
option
(
"
--framework <framework>
"
,
"
--framework <framework>
"
,
`
`
Select a framework to bootstrap the application with.
Select a framework to bootstrap the application with.
`
,
`
,
)
)
.
option
(
.
option
(
"
--open-ai-key <key>
"
,
"
--open-ai-key <key>
"
,
`
`
Provide an OpenAI API key.
Provide an OpenAI API key.
`
,
`
,
)
)
.
option
(
.
option
(
"
--ui <ui>
"
,
"
--ui <ui>
"
,
`
`
Select a UI to bootstrap the application with.
Select a UI to bootstrap the application with.
`
,
`
,
)
)
.
option
(
.
option
(
"
--frontend
"
,
"
--frontend
"
,
`
`
Whether to generate a frontend for your backend.
Whether to generate a frontend for your backend.
`
,
)
.
option
(
"
--model
"
,
`
Select OpenAI model to use. E.g. gpt-3.5-turbo.
`
,
`
,
)
)
.
allowUnknownOption
()
.
allowUnknownOption
()
...
@@ -149,7 +162,7 @@ async function run(): Promise<void> {
...
@@ -149,7 +162,7 @@ async function run(): Promise<void> {
"
\n
Please specify the project directory:
\n
"
+
"
\n
Please specify the project directory:
\n
"
+
`
${
cyan
(
program
.
name
())}
${
green
(
"
<project-directory>
"
)}
\n`
+
`
${
cyan
(
program
.
name
())}
${
green
(
"
<project-directory>
"
)}
\n`
+
"
For example:
\n
"
+
"
For example:
\n
"
+
`
${
cyan
(
program
.
name
())}
${
green
(
"
my-
next-
app
"
)}
\n\n`
+
`
${
cyan
(
program
.
name
())}
${
green
(
"
my-app
"
)}
\n\n`
+
`Run
${
cyan
(
`
${
program
.
name
()}
--help`
)}
to see all options.`
,
`Run
${
cyan
(
`
${
program
.
name
()}
--help`
)}
to see all options.`
,
);
);
process
.
exit
(
1
);
process
.
exit
(
1
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment