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

LLM Integration #412

Merged
merged 50 commits into from
Sep 25, 2024
Merged

LLM Integration #412

merged 50 commits into from
Sep 25, 2024

Conversation

bigabig
Copy link
Member

@bigabig bigabig commented Aug 26, 2024

  • add ollama to docker-compose
  • add ollama client as new dependency for backend / celery worker (we need to rebuild containers)
  • adds new redis channel for llm tasks
  • adds endpoints for llm tasks
  • new feature: llm assistant for doc tagging

@uhh-lt uhh-lt deleted a comment from gitguardian bot Aug 26, 2024
@bigabig
Copy link
Member Author

bigabig commented Aug 26, 2024

Todos:

  • LLM Annotation in LLM Assistant
  • LLM Metadata Extraction in LLM Assistant
  • LLM Paraphrasing / Summarization as new option when annotating
  • LLM Jobs Manager (Similar to the Pre-pro jobs / Background Jobs UI
  • Delete finished LLM Jobs
  • (maybe?) Introduce device id env variable

Copy link
Member

@floschne floschne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add OllamaService and LLMService initializations to the startup.py::init_services method :)

docker/docker-compose.yml Outdated Show resolved Hide resolved
backend/src/app/core/data/llm/llm_service.py Outdated Show resolved Hide resolved
Copy link

gitguardian bot commented Sep 12, 2024

⚠️ GitGuardian has uncovered 2 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
11487171 Triggered Generic Password b887ce8 backend/.env.example View secret
11487171 Triggered Generic Password 4e6842a backend/.env.example View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@bigabig bigabig merged commit b5d37f8 into mwp_v1 Sep 25, 2024
5 of 6 checks passed
@bigabig bigabig deleted the llm-integration branch September 25, 2024 08:20
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.

2 participants