Skip to content
Open

pull #344

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
ae1a1bd
fix unique key props warning
mayooear Mar 21, 2023
fccd3b0
Merge pull request #17 from mayooear/fix/next-key-props
mayooear Mar 21, 2023
fe06fc8
general frontend optimization
mayooear Mar 23, 2023
1b6fac8
specify node version in engines, update README for pnpm use
mayooear Mar 23, 2023
55f58da
Merge pull request #39 from mayooear/frontend-fixes
mayooear Mar 23, 2023
10c66b0
upgrade langchain, add customPDFLoader
mayooear Mar 27, 2023
53f5ae6
Merge branch 'main' into feat/upgrade-langchain
mayooear Mar 27, 2023
46bb0ad
Merge pull request #66 from mayooear/feat/upgrade-langchain
mayooear Mar 27, 2023
581f809
Update .env.example
mayooear Mar 27, 2023
b4c88e1
Merge pull request #67 from mayooear/update/pineconeindexenv
mayooear Mar 27, 2023
5bd2a3b
add directory loader to load multiple pdf files
mayooear Mar 28, 2023
90381f0
Merge branch 'main' into feat/add-directory-loader
mayooear Mar 28, 2023
ef4046d
Merge pull request #71 from mayooear/feat/add-directory-loader
mayooear Mar 28, 2023
37fc719
Update README.md
mayooear Apr 1, 2023
a6075e5
Update README.md
mayooear Apr 1, 2023
6db8ba8
Update README.md
mayooear Apr 3, 2023
7a6d82f
langchain retrievers
mayooear Apr 10, 2023
a74abf2
remove merge conflicts
mayooear Apr 10, 2023
b00e3c0
global pnpm installation
mayooear Apr 11, 2023
191e87c
upgrade langchain and pinecone, migrate from pnpm to yarn
mayooear Apr 13, 2023
aff71aa
updated README.md
mayooear Apr 13, 2023
f1ee996
Merge pull request #165 from mayooear/feat/retriever
mayooear Apr 13, 2023
0a6dc57
upgrade dependencies, clean up env files, updated pdfloader
mayooear May 25, 2023
ea4948c
Update LangChain version to current, update history passing
jacoblee93 Jul 11, 2023
7f6c375
Update message passing
jacoblee93 Jul 11, 2023
ba9b663
Update deps, naming
jacoblee93 Aug 11, 2023
66d183f
Merge pull request #376 from jacoblee93/feature_langchain_update
mayooear Aug 11, 2023
31aec79
Update LangChain and Pinecone client, use expression language for chain
jacoblee93 Nov 13, 2023
138bba4
Merge pull request #434 from jacoblee93/jacob/update_versions
mayooear Nov 13, 2023
0ccc8b3
Update README.md
mayooear Jan 23, 2025
18dda71
langgraph pdf rag agent layout
mayooear Jan 30, 2025
8d68166
update template
mayooear Jan 30, 2025
4bda365
frontend folder
mayooear Jan 30, 2025
5cce898
setup monorep
mayooear Jan 30, 2025
01791b3
feat: ingestion_graph
mayooear Jan 31, 2025
fdfdc75
feat: retrieval-graph
mayooear Jan 31, 2025
4d44d0e
test: implement integration tests for retrieval graph agent - add tes…
mayooear Feb 17, 2025
63aba7e
feat(retrieval): ensure HumanMessages are included in message history…
mayooear Feb 17, 2025
5bf8b6b
feat: retrieval sdk client demo example
mayooear Feb 17, 2025
d69b1c0
feat: frontend template
mayooear Feb 18, 2025
b90fab6
feat: add copy button to chat messages
mayooear Feb 18, 2025
a3acfb9
feat: integrate langgraph sdk
mayooear Feb 18, 2025
45ce55e
fix: api stream messages
mayooear Feb 18, 2025
70025c8
fix: remove direct response as a tool call message in streams
mayooear Feb 18, 2025
9843de2
refactor: use reusable prompt chat templates
mayooear Feb 19, 2025
2a54e81
refactor: modify retrieval configs
mayooear Feb 19, 2025
95ca631
feat: add abort controller to streaming fetch
mayooear Feb 19, 2025
b740ce8
fix: chatmessage rendering + add loading dots
mayooear Feb 19, 2025
b54e6ab
fix: add auto-scroll behavior for chat messages
mayooear Feb 19, 2025
306688c
feat: update toast implementation and dependencies
mayooear Feb 19, 2025
5ee56a9
feat: add chat model loading utility and update retrieval graph imple…
mayooear Feb 19, 2025
9c808cf
feat: add PDF ingest route with tests and validation
mayooear Feb 19, 2025
3bb716f
feat: implement the PDF parser and backend langgraph ingestion logic …
mayooear Feb 20, 2025
a36608c
feat: implement frontend graph types & configration. Modifty chat UI …
mayooear Feb 20, 2025
d27a1f1
feat: frontend implement base configuration types and ingestion configs
mayooear Feb 20, 2025
d7ff6b6
feat: add source docs to the UI
mayooear Feb 20, 2025
d9ef340
feat: implement source docs accordions
mayooear Feb 20, 2025
3718128
update readme.md
mayooear Feb 20, 2025
5cb1c6c
fix: remove lock file
mayooear Feb 20, 2025
92b8bb6
Merge pull request #481 from mayooear/feat/langgraph-rag-agent
mayooear Feb 20, 2025
8e83169
docs: update readme with detailed instructions
mayooear Feb 20, 2025
6231ab2
Merge pull request #482 from mayooear/feat/langgraph-rag-agent
mayooear Feb 20, 2025
bab7e65
Update README.md
mayooear Feb 20, 2025
9351554
Update README.md
mayooear Feb 20, 2025
4bb9809
Update page.tsx
mayooear Feb 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
dist
6 changes: 0 additions & 6 deletions .env.example

This file was deleted.

31 changes: 31 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/* .eslintrc.cjs */

module.exports = {
root: true, // Ensures ESLint doesn't look beyond this folder for configuration
parser: '@typescript-eslint/parser', // Tells ESLint to parse TypeScript
parserOptions: {
ecmaVersion: 'latest', // Enables modern JavaScript features
sourceType: 'module', // Allows import/export statements,
project: './tsconfig.json', // Tells ESLint to use the tsconfig.json file
},
extends: [
'eslint:recommended', // Basic ESLint rules
'plugin:@typescript-eslint/recommended', // Adds TypeScript-specific rules
'prettier', // Disables rules conflicting with Prettier
],
ignorePatterns: [
'.eslintrc.cjs',
'scripts',
'src/utils/lodash/*',
'node_modules',
'dist',
'dist-cjs',
'*.js',
'*.cjs',
'*.d.ts',
],
rules: {
// You can add or override any rules here, for example:
// "no-console": "warn", // Warn when using console.log
},
};
3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

46 changes: 46 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Run formatting on all PRs

name: CI

on:
push:
branches: ["main"]
pull_request:
workflow_dispatch: # Allows triggering the workflow manually in GitHub UI

# If another push to the same PR or branch happens while this workflow is still running,
# cancel the earlier run in favor of the next run.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
format:
name: Check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: "yarn"
- name: Install dependencies
run: yarn install --immutable --mode=skip-build
- name: Check formatting
run: yarn format:check

lint:
name: Check linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: "yarn"
- name: Install dependencies
run: yarn install --immutable --mode=skip-build
- name: Check linting
run: yarn run lint:all
59 changes: 36 additions & 23 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,5 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build
# npm
node_modules/

# misc
.DS_Store
Expand All @@ -23,18 +9,45 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
ui-debug.log*

# local env files
.env*.local
.env

# typescript
*.tsbuildinfo

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
# testing
coverage

# next.js
.next/
out/

# fumadocs
.source

# production
build
dist
apps/docs/public/registry/

# turbo
.turbo

# env
.env

# cursor
.cursor
.cursor/

#llm_context
llm_context/

test_docs

#Notion_db
/Notion_DB
.swc
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 [Your Name or Organization Name]

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading
Loading