Skip to content

Commit 3eb971a

Browse files
committed
Add rag-connector on frontend-angular-ai
1 parent 8e3ba6a commit 3eb971a

File tree

112 files changed

+20289
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+20289
-0
lines changed
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Node modules
2+
node_modules/
3+
4+
# Logs
5+
logs/
6+
*.log
7+
npm-debug.log*
8+
yarn-debug.log*
9+
yarn-error.log*
10+
pnpm-debug.log*
11+
12+
# OS
13+
.DS_Store
14+
Thumbs.db
15+
16+
# dotenv files
17+
.env
18+
.env.*
19+
!.env.development
20+
!.env.production
21+
!.env.test
22+
23+
# Tests & coverage
24+
coverage/
25+
jest-output.log
26+
__snapshots__/
27+
28+
# Build output
29+
dist/
30+
build/
31+
32+
# IDE & editor settings
33+
.vscode/
34+
.idea/
35+
*.sw?
36+
37+
# Temp files
38+
*.tmp
39+
*.bak
40+
41+
# Lint & format
42+
.eslintcache
43+
44+
# Webpack
45+
.cache/
46+
webpack-stats.json
47+
48+
# Docker
49+
docker-compose.override.yml
50+
.docker/
51+
52+
# PM2
53+
pids/
54+
pids/*.pid
55+
pids/*.lock
56+
57+
# Misc
58+
*.tgz
59+
*.tar.gz
60+
.env.local
61+
.env.development.local
62+
.env.production.local
63+
.env.test.local
64+
.env.test
65+
node-repl-history
66+
yarn.lock.backup
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License
2+
3+
Copyright (c) 2017-2025 Ganatan
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: "3.8"
2+
3+
services:
4+
qdrant:
5+
image: qdrant/qdrant
6+
container_name: qdrant
7+
ports:
8+
- "6333:6333" # REST API
9+
- "6334:6334" # gRPC API
10+
volumes:
11+
- ./qdrant_storage:/qdrant/storage
36 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"state":{"hard_state":{"term":0,"vote":0,"commit":0},"conf_state":{"voters":[7260854961039903],"learners":[],"voters_outgoing":[],"learners_next":[],"auto_leave":false}},"latest_snapshot_meta":{"term":0,"index":0},"apply_progress_queue":null,"first_voter":7260854961039903,"peer_address_by_id":{},"peer_metadata_by_id":{},"this_peer_id":7260854961039903}
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
import globals from "globals";
2+
import pluginJs from "@eslint/js";
3+
4+
export default [
5+
{
6+
ignores: [
7+
'dist/**',
8+
'eslint.config.js',
9+
'webpack.config.js'
10+
],
11+
},
12+
{
13+
languageOptions: {
14+
globals: {
15+
...globals.node,
16+
...globals.jest,
17+
},
18+
sourceType: 'module',
19+
},
20+
},
21+
pluginJs.configs.recommended,
22+
{
23+
rules: {
24+
"indent": ["error", 2],
25+
"quotes": ["error", "single"],
26+
"semi": ["error", "always"],
27+
"no-unused-vars": ["warn"],
28+
"no-console": "off",
29+
'eqeqeq': 'error',
30+
'curly': 'error',
31+
'no-unused-vars': ['error', { 'args': 'none', 'ignoreRestSiblings': true }],
32+
'no-undef': 'error',
33+
'no-redeclare': 'error',
34+
'consistent-return': 'error',
35+
'no-shadow': 'error',
36+
'quotes': ['error', 'single', { 'avoidEscape': true }],
37+
'semi': ['error', 'always'],
38+
'comma-dangle': ['error', 'always-multiline'],
39+
'object-curly-spacing': ['error', 'always'],
40+
'callback-return': 'error',
41+
'handle-callback-err': ['error', '^.*(e|E)rr'],
42+
'no-new-require': 'error',
43+
'no-path-concat': 'error',
44+
'no-process-exit': 'error',
45+
'no-eval': 'error',
46+
'no-implied-eval': 'error',
47+
'strict': 'error',
48+
'no-var': 'error',
49+
'prefer-const': 'error',
50+
'no-empty': 'error',
51+
'no-mixed-operators': 'error',
52+
'no-trailing-spaces': 'error',
53+
'linebreak-style': 'off',
54+
'max-len': 'off',
55+
'no-param-reassign': 'off',
56+
'prefer-destructuring': 'off',
57+
'prefer-arrow-callback': 'off',
58+
'func-names': 'error',
59+
'arrow-parens': 'off',
60+
'dot-notation': 'off',
61+
'import/prefer-default-export': 'off',
62+
'import/first': 'off',
63+
'no-template-curly-in-string': 'off',
64+
'new-cap': ['error', { 'capIsNew': false }],
65+
'array-callback-return': 'error',
66+
'object-shorthand': ['error', 'consistent'],
67+
'function-paren-newline': ['error', 'consistent'],
68+
'quote-props': ['error', 'as-needed'],
69+
'operator-linebreak': ['error', 'before'],
70+
'prefer-template': 'error',
71+
'id-length': 'error',
72+
'newline-before-return': 'error',
73+
'space-before-blocks': 'error',
74+
'eol-last': ['error', 'always'],
75+
'no-multiple-empty-lines': ['error', { 'max': 1, 'maxEOF': 1 }],
76+
},
77+
},
78+
];

0 commit comments

Comments
 (0)