Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Common middleware llm package and ollama support #312

Closed
wants to merge 74 commits into from
Closed

Conversation

EneaGore
Copy link
Contributor

@EneaGore EneaGore commented Jul 10, 2024

Motivation and Context

Right now llm setup is copy and pasted on each module. This PR introduces a common package.
This PR includes the bump to langchain 0.2 for the shared llm package, also to pydantic v2
Only integrated on Text LLM Module so far. Other modules rely on old dependencies which may cause issues when using this package atm.
Also adds support for ollama with all its models hosted in the gpu.
Docker and build scripts updated

Description

Steps for Testing

Screenshots

dependabot bot and others added 30 commits May 10, 2024 01:55
Bumps [next](https://github.com/vercel/next.js) from 13.5.6 to 14.1.1.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v13.5.6...v14.1.1)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.9.7 to 3.9.8.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](sidorares/node-mysql2@v3.9.7...v3.9.8)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
…nd/next-14.1.1' into feature/playground-self-learning-feedback
…nd/mysql2-3.9.8' into feature/playground-self-learning-feedback
@EneaGore EneaGore added the deploy:athena-test1 Athena Test Server 1 label Jul 13, 2024
@github-actions github-actions bot added deployment-error Added by deployment workflows if an error occured and removed deploy:athena-test1 Athena Test Server 1 labels Jul 13, 2024
@EneaGore EneaGore added the deploy:athena-test1 Athena Test Server 1 label Jul 13, 2024
@github-actions github-actions bot added lock:athena-test1 Is currently deployed to Athena Test Server 1 and removed deployment-error Added by deployment workflows if an error occured deploy:athena-test1 Athena Test Server 1 labels Jul 13, 2024
@EneaGore EneaGore temporarily deployed to Athena Test Server 3 July 13, 2024 17:13 — with GitHub Actions Inactive
@ls1intum ls1intum deleted a comment from github-actions bot Jul 13, 2024
@EneaGore EneaGore removed the lock:athena-test1 Is currently deployed to Athena Test Server 1 label Jul 14, 2024
@EneaGore EneaGore added the deploy:athena-test1 Athena Test Server 1 label Jul 16, 2024
@github-actions github-actions bot added lock:athena-test1 Is currently deployed to Athena Test Server 1 and removed deploy:athena-test1 Athena Test Server 1 labels Jul 16, 2024
@EneaGore EneaGore temporarily deployed to Athena Test Server 3 July 16, 2024 17:44 — with GitHub Actions Inactive
@EneaGore EneaGore removed the lock:athena-test1 Is currently deployed to Athena Test Server 1 label Jul 16, 2024
@EneaGore EneaGore added the deploy:athena-test1 Athena Test Server 1 label Jul 20, 2024
@github-actions github-actions bot added lock:athena-test1 Is currently deployed to Athena Test Server 1 and removed deploy:athena-test1 Athena Test Server 1 labels Jul 20, 2024
@EneaGore EneaGore temporarily deployed to Athena Test Server 3 July 20, 2024 21:28 — with GitHub Actions Inactive
@EneaGore EneaGore removed the lock:athena-test1 Is currently deployed to Athena Test Server 1 label Jul 20, 2024
@EneaGore EneaGore closed this Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce a common langchain middleware module
4 participants