Files
gitlab-foss/gems/gitlab-active-context

GitLab Active Context

ActiveContext is a gem used for interfacing with vector stores like Elasticsearch, OpenSearch and Postgres with PGVector for storing and querying vectors.

How it works

See How it works.

Installation

TODO

Getting started

See Getting started.

Usage

See Usage

How to

Contributing

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

Development guidelines

  1. Avoid adding too many changes in the monolith, keep concerns in the gem
  2. It's okay to reuse lib-type GitLab logic in the gem and stub it in specs. Avoid duplication this kind of logic into the code for long-term maintainability.
  3. Avoid referencing application logic from the monolith in the gem