diff --git a/docs/Gemfile b/docs/Gemfile index 6a854952..77bf5264 100644 --- a/docs/Gemfile +++ b/docs/Gemfile @@ -1,7 +1,8 @@ source "https://rubygems.org" gem "jekyll", "~> 4.3.2" -gem "just-the-docs", "~> 0.5.0" +# gem "just-the-docs", "~> 0.5.0" +gem "minima", "~> 2.5" group :jekyll_plugins do gem "jekyll-include-cache" @@ -22,4 +23,4 @@ gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin] # Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem # do not have a Java counterpart. -gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby] \ No newline at end of file +gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby] \ No newline at end of file diff --git a/docs/_config.yml b/docs/_config.yml index 32a0b5b8..8d9cb687 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -1,4 +1,4 @@ -remote_theme: just-the-docs/just-the-docs +# remote_theme: just-the-docs/just-the-docs url: https://xerrors.github.io/Yuxi-Know baseurl: /Yuxi-Know title: 语析 - 基于大模型的知识库与知识图谱问答系统 @@ -23,4 +23,4 @@ defaults: type: pages values: layout: home - search_exclude: true \ No newline at end of file + search_exclude: true \ No newline at end of file diff --git a/docs/index.md b/docs/index.md index b8accc5e..2e4707da 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,5 +1,5 @@ --- -layout: home +layout: default title: 语析 - 基于大模型的知识库与知识图谱问答系统 nav_order: 1 description: "语析是一个强大的问答平台,结合了大模型 RAG 知识库与知识图谱技术,基于 Llamaindex + VueJS + FastAPI + Neo4j 构建。" @@ -133,4 +133,4 @@ docker tag m.daocloud.io/docker.io/library/neo4j:latest neo4j:latest ## 许可证 -本项目采用 MIT 许可证 - 详见 [LICENSE](LICENSE) 文件 \ No newline at end of file +本项目采用 MIT 许可证 - 详见 [LICENSE](LICENSE) 文件 \ No newline at end of file diff --git a/web/src/components/ChatComponent.vue b/web/src/components/ChatComponent.vue index 85b3e161..5cf77b74 100644 --- a/web/src/components/ChatComponent.vue +++ b/web/src/components/ChatComponent.vue @@ -9,11 +9,29 @@ > - - - + + + + + {{ configStore.config?.model_provider }}/{{ configStore.config?.model_name }} + + +

模型配置

-

请在 src/.env 文件中配置对应的 APIKEY

+

请在 src/.env 文件中配置对应的 APIKEY,并重新启动服务

自定义模型

@@ -167,9 +167,9 @@
- @@ -550,7 +550,7 @@ const sendRestart = () => { .model-icon { width: 28px; height: 28px; - + // 灰度 filter: grayscale(100%); img { @@ -627,7 +627,7 @@ const sendRestart = () => { .icon-wrapper { display: inline-flex; transition: transform 0.2s ease; - + &.rotated { transform: rotate(180deg); } @@ -639,7 +639,7 @@ const sendRestart = () => { max-height: 0; overflow: hidden; transition: max-height 0.2s ease-out; // 先快后慢 - + &.expanded { max-height: 700px; /* 设置一个足够大的值 */ } @@ -710,7 +710,7 @@ const sendRestart = () => { flex: 1; margin-right: 8px; position: relative; - + &:hover::after { content: attr(title); position: absolute;