Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Core - Remove dependency on unnecessary packages #67

Closed
pranav-kural opened this issue Aug 1, 2024 · 1 comment
Closed

Core - Remove dependency on unnecessary packages #67

pranav-kural opened this issue Aug 1, 2024 · 1 comment
Assignees
Labels
bug Something isn't working enhancement New feature or request
Milestone

Comments

@pranav-kural
Copy link
Collaborator

Remove dependency on unnecessary packages to reduce overall dependency footprint.

Potential candidates:

  • "@genkit-ai/firebase": "^0.5.4" [Cloud Firestore directly used using the firebase-admin package]
  • "@genkit-ai/google-cloud": "^0.5.4", [Telemetry/Observability not a priority right now + leads to vendor lock-in]
  • "@langchain/core": "^0.2.14", [used only for TypeScript types - could potentially extract the required types]
@pranav-kural pranav-kural added bug Something isn't working enhancement New feature or request labels Aug 1, 2024
@pranav-kural pranav-kural added this to the Target Release 2.0.x milestone Aug 1, 2024
@pranav-kural pranav-kural self-assigned this Aug 1, 2024
@pranav-kural
Copy link
Collaborator Author

Can't remove dependency on @langchain/core. Require the Runnable interface in data-retrievers.ts to be able to support the usage of data loaders from LangChain (i.e., data loaders/text splitters not provided out of box through QvikChat).

pranav-kural added a commit that referenced this issue Aug 1, 2024
* 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
pranav-kural added a commit that referenced this issue Aug 1, 2024
* updated cache store to support multimodal inputs #43

* updates to cache store for multimodality #43

* updated define chat endpoint logic to support multimodal input output and verbose mode

* fixed endpoint output schema to support verbose response

* updated tests to support multimodal input output (tests only use text I/O for now) #43

* formatting change

* added changes to setup `alpha` branch for alpha release

* Added Changes to prompts, chat agent, endpoints to support Multimodal I/O (#57)

* added DALL-E 3 to supported models

* Updated prompts with partials and custom output schema #43

* updated prompts for multimodality #43

* Updated chat agent class for multimodal I/O #43

* Updated defineChatEndpoint to support multimodal I/O #43

* bumped NPM package for alpha release

* Fixed issues with basic system prompt + added default system prompts #43 (#59)

* Multimodal fix - multiple changes to chat agent module to support multimodal I/O (#60)

* Fixed issues with basic system prompt + added default system prompts #43

* multiple changes to chat agent module to support multimodal I/O

* bumped package version for alpha release

* Models patch - fixes for multimodal support + implementation of `configureAndRunServer` method #43 #54 (#63)

* fix for LLM model configurations type inference (Gemini, OpenAI, DALL-E) #43

* Bumped pre-release package version + removed dependency on genkit-langchain and genkit-chromadb

* added the `configureAndRunServer` method #54 + moved exports for server and genkit to root level

* Final merge for v2 pre-release branch (#71)

* 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

* Bumped pre-release version - final for v2

* Remove alpha NPM package workflow + changed package version to 2.0.0

* fixed workflows for pre-deploy build + code scanning
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

1 participant