[PR #40] [MERGED] feat: optionally ask to select AI models and use default models #205

Closed
opened 2026-02-15 19:16:42 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/create-llama/pull/40
Author: @thucpn
Created: 4/8/2024
Status: Merged
Merged: 4/9/2024
Merged by: @marcusschiesser

Base: mainHead: feat/ask-to-use-embedding-model


📝 Commits (7)

  • 36f2880 feat: ask to use embedding model
  • 3ec70ee fix: remove question and use flag to enable ask embed model
  • 0e3e1fc Create curvy-eels-boil.md
  • dcf6ff0 fix: use default in e2e test
  • 4ad4d02 feat: use ask-models also for LLM models
  • 37a552c fix: wrong embed model while calling generate
  • cc52db7 feat: remove list server models

📊 Changes

14 files changed (+111 additions, -106 deletions)

View changed files

.changeset/curvy-eels-boil.md (+5 -0)
📝 README.md (+32 -26)
📝 e2e/utils.ts (+1 -6)
📝 helpers/env-variables.ts (+12 -11)
📝 index.ts (+18 -6)
📝 questions.ts (+20 -50)
📝 templates/components/vectordbs/python/astra/generate.py (+1 -1)
📝 templates/components/vectordbs/python/astra/index.py (+1 -1)
📝 templates/components/vectordbs/python/milvus/generate.py (+1 -1)
📝 templates/components/vectordbs/python/milvus/index.py (+1 -1)
📝 templates/components/vectordbs/typescript/astra/generate.ts (+4 -1)
📝 templates/components/vectordbs/typescript/astra/shared.ts (+1 -0)
📝 templates/types/streaming/express/src/controllers/engine/settings.ts (+7 -1)
📝 templates/types/streaming/nextjs/app/api/chat/engine/settings.ts (+7 -1)

📄 Description

Summary by CodeRabbit

  • New Features
    • Introduced an option to select Language Learning Models (LLMs) and embedding models through the CLI with --ask-models.
    • Added support for customizing embedding models and their dimensions via environment variables.
  • Enhancements
    • Improved the user selection process for embedding models with a new toggle prompt.
  • Refactor
    • Updated various components to dynamically use embedding dimensions from environment variables, enhancing flexibility and customization.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/create-llama/pull/40 **Author:** [@thucpn](https://github.com/thucpn) **Created:** 4/8/2024 **Status:** ✅ Merged **Merged:** 4/9/2024 **Merged by:** [@marcusschiesser](https://github.com/marcusschiesser) **Base:** `main` ← **Head:** `feat/ask-to-use-embedding-model` --- ### 📝 Commits (7) - [`36f2880`](https://github.com/run-llama/create-llama/commit/36f2880452d2242df26278ad2127b43d29ee680f) feat: ask to use embedding model - [`3ec70ee`](https://github.com/run-llama/create-llama/commit/3ec70ee47de47c2458a300f47fb4fd792616697e) fix: remove question and use flag to enable ask embed model - [`0e3e1fc`](https://github.com/run-llama/create-llama/commit/0e3e1fc699b354034fef0481961ee553ef931a45) Create curvy-eels-boil.md - [`dcf6ff0`](https://github.com/run-llama/create-llama/commit/dcf6ff0efda2d45f73cc018d417d3dbca1c46068) fix: use default in e2e test - [`4ad4d02`](https://github.com/run-llama/create-llama/commit/4ad4d02ccab4590991159489410be4b93d0a0c4d) feat: use ask-models also for LLM models - [`37a552c`](https://github.com/run-llama/create-llama/commit/37a552c1cc27ee34db9d9cd6ec740d4139c5fd38) fix: wrong embed model while calling generate - [`cc52db7`](https://github.com/run-llama/create-llama/commit/cc52db7bbaba500daf867751822b3514b1824a58) feat: remove list server models ### 📊 Changes **14 files changed** (+111 additions, -106 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/curvy-eels-boil.md` (+5 -0) 📝 `README.md` (+32 -26) 📝 `e2e/utils.ts` (+1 -6) 📝 `helpers/env-variables.ts` (+12 -11) 📝 `index.ts` (+18 -6) 📝 `questions.ts` (+20 -50) 📝 `templates/components/vectordbs/python/astra/generate.py` (+1 -1) 📝 `templates/components/vectordbs/python/astra/index.py` (+1 -1) 📝 `templates/components/vectordbs/python/milvus/generate.py` (+1 -1) 📝 `templates/components/vectordbs/python/milvus/index.py` (+1 -1) 📝 `templates/components/vectordbs/typescript/astra/generate.ts` (+4 -1) 📝 `templates/components/vectordbs/typescript/astra/shared.ts` (+1 -0) 📝 `templates/types/streaming/express/src/controllers/engine/settings.ts` (+7 -1) 📝 `templates/types/streaming/nextjs/app/api/chat/engine/settings.ts` (+7 -1) </details> ### 📄 Description <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced an option to select Language Learning Models (LLMs) and embedding models through the CLI with `--ask-models`. - Added support for customizing embedding models and their dimensions via environment variables. - **Enhancements** - Improved the user selection process for embedding models with a new toggle prompt. - **Refactor** - Updated various components to dynamically use embedding dimensions from environment variables, enhancing flexibility and customization. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 19:16:42 -05:00
yindo closed this issue 2026-02-15 19:16:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/create-llama#205