Skip to content

Commit

Permalink
Final merge for v2 pre-release branch (#71)
Browse files Browse the repository at this point in the history
* removed dependency on @genkit-ai/firebase and @genkit-ai/firebase #67

* Refactored codebase to implement type-only imports and export #68

* Implemented logic to reset cache record on expiry #69 + fixed #66

* updated implementation of  method for cache store #69

* re-factored and re-organized code to export `defineChatEndpoint` from root #70

* updated `langchain` to v0.2.12 + added badges to README #66
  • Loading branch information
pranav-kural authored Aug 1, 2024
1 parent a65e8a9 commit 9ffb9d5
Show file tree
Hide file tree
Showing 39 changed files with 4,574 additions and 7,513 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Develop a self-hosted production-ready AI-powered chat app or service at a rapid

[Get Started](https://qvikchat.pkural.ca/getting-started) | [Documentation](https://qvikchat.pkural.ca)

[![Pre-deploy Workflow - lint, test, build](https://github.com/oconva/qvikchat/actions/workflows/build.yml/badge.svg)](https://github.com/oconva/qvikchat/actions/workflows/build.yml) [![CodeQL](https://github.com/oconva/qvikchat/actions/workflows/codeql.yml/badge.svg?branch=main)](https://github.com/oconva/qvikchat/actions/workflows/codeql.yml) [![QvikChat NPM](https://github.com/oconva/qvikchat/actions/workflows/publish-npm.yml/badge.svg)](https://github.com/oconva/qvikchat/actions/workflows/publish-npm.yml) [![Dependency review](https://github.com/oconva/qvikchat/actions/workflows/dependency-review.yml/badge.svg)](https://github.com/oconva/qvikchat/actions/workflows/dependency-review.yml)

## QvikChat Chat Endpoint demo

![QvikChat RAG Demo](https://github.com/oconva/qvikchat/assets/17651852/11864142-b75b-4076-87fe-dbd301dbfa75)
Expand Down
21 changes: 6 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,6 @@
"require": "./lib/config/config.js",
"default": "./lib/config/config.js"
},
"./endpoints": {
"types": "./lib/endpoints/endpoints.d.ts",
"import": "./lib/endpoints/endpoints.js",
"require": "./lib/endpoints/endpoints.js",
"default": "./lib/endpoints/endpoints.js"
},
"./history": {
"types": "./lib/history/chat-history-store.d.ts",
"import": "./lib/history/chat-history-store.js",
Expand Down Expand Up @@ -150,29 +144,26 @@
"eslint-config-prettier": "^9.1.0",
"jest": "^29.7.0",
"prettier": "^3.3.2",
"ts-jest": "^29.1.5",
"ts-jest": "^29.2.4",
"ts-node": "^10.9.2",
"typescript": "^5.5.3",
"typescript-eslint": "^7.15.0"
"typescript-eslint": "^8.0.0"
},
"dependencies": {
"@genkit-ai/ai": "^0.5.4",
"@genkit-ai/core": "^0.5.4",
"@genkit-ai/dotprompt": "^0.5.4",
"@genkit-ai/firebase": "^0.5.4",
"@genkit-ai/flow": "^0.5.4",
"@genkit-ai/google-cloud": "^0.5.4",
"@genkit-ai/googleai": "^0.5.4",
"@langchain/community": "^0.2.17",
"@langchain/core": "^0.2.14",
"@langchain/community": "^0.2.22",
"@langchain/core": "^0.2.18",
"@langchain/google-genai": "^0.0.21",
"@langchain/openai": "^0.2.1",
"@langchain/openai": "^0.2.5",
"d3-dsv": "^2.0.0",
"dotenv": "^16.4.5",
"firebase-admin": "^12.2.0",
"genkitx-langchain": "^0.5.4",
"genkitx-openai": "^0.10.0",
"langchain": "^0.2.8",
"langchain": "^0.2.12",
"zod": "^3.23.8"
}
}
Loading

0 comments on commit 9ffb9d5

Please sign in to comment.