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

Store vector init #24

Merged
merged 29 commits into from
May 28, 2024
Merged

Store vector init #24

merged 29 commits into from
May 28, 2024

Conversation

isontheline
Copy link
Collaborator

No description provided.

amengus87 and others added 29 commits May 27, 2024 13:11
…board for Profile("test")

This commit disables the JobRunr background job server, job scheduler, and dashboard by setting the corresponding properties to false in the application-test.yaml file. This change is necessary to prevent unnecessary resource usage during testing.

Note: This commit message follows the established convention of using the "chore" type for non-functional changes.
This commit updates the ProviderType enum in the `ProviderType.java` file. It adds two new enum values, `ONNX` and `OpenAI`, and modifies the existing `OPENAI` value to `OpenAI`. Additionally, a new static method `fromString` is added to the enum to retrieve the corresponding ProviderType based on a given string value.

Note: This commit message follows the established convention of using the "refactor" type for code restructuring or refactoring.
…derEntity

This commit adds a unique index for the `name` field in both the `IngestorEntity` and `ProviderEntity` classes. The unique index ensures that the `name` field values are unique within their respective collections.

Note: This commit message follows the established convention of using the "refactor" type for code restructuring or refactoring.
…dApiController

This commit adds a new overloaded `create` method to the `AbstractCrudBackendApiController` class. The new method accepts an additional parameter `beforeSaveCallback`, which is a function that can be used to modify the entity before saving it to the repository. This allows for more flexibility in customizing the creation process of entities.

Note: This commit message follows the established convention of using the "feat" type for new feature additions.
…iController

This commit modifies the `AbstractCrudBackendApiController` class to handle unique key constraint violations when saving entities to the repository. It adds a try-catch block around the `repository.save(entity)` method and throws a `ResponseStatusException` with a `CONFLICT` status and a descriptive error message when a `UniqueConstraintException` is caught.

Note: This commit message follows the established convention of using the "feat" type for new feature additions.
This commit updates the dRAGon description in the `HomepageFeatures` component to mention the RAG pipeline instead of just "your docs". This change provides more clarity and aligns with the actual functionality of the software.
This commit updates the primary color variables in the custom.css file. The new color values are #8b5cf6 for the primary color, #743cf4 for the dark shade, #692cf3 for the darker shade, #4d0ce0 for the darkest shade, #a27cf8 for the light shade, #ad8cf9 for the lighter shade, and #cfbcfb for the lightest shade. This change ensures consistency and aligns with the desired color scheme.
This commit updates the `SiloEntity` class by renaming the `vectorStoreClass` field to `vectorStoreType`. This change provides a more accurate and descriptive name for the field, improving code readability and maintainability.
This commit updates the `EmbeddingModelType` enum in the `EmbeddingModelType.java` file. It adds the `dimensions` and `maxTokens` fields to the `EmbeddingModelDefinition` class, allowing for more flexibility in defining the dimensions and maximum tokens for each embedding model. This change enhances the configurability of the embedding models and improves the overall functionality of the application.
This commit adds a new field `settings` to the `IngestorEntity` class. The `settings` field is a map of key-value pairs and allows for linking additional settings to the Ingestor. This change enhances the flexibility and configurability of the IngestorEntity.
… for field updates

This commit refactors the `AbstractCrudBackendApiController` class to use the `ObjectMapper` from the Jackson library for updating entity fields. Instead of manually iterating over the fields and using reflection to set the values, the code now serializes the `fields` map to JSON using the `ObjectMapper`, and then uses the `ObjectReader` to update the entity fields. This change improves code readability and maintainability by leveraging the built-in functionality of the `ObjectMapper` and reduces the risk of errors when updating fields.
This commit adds a new field `ingestors` to the `SiloEntity` class. The `ingestors` field is a list of Ingestor UUIDs that are linked to the Silo. When linked, the Ingestors will be run in order to add documents into the Silo. This change enhances the functionality of the SiloEntity by allowing it to manage and track the associated Ingestors.
The @Profile("!test") annotation was removed from the JobRunrConfig class. This change ensures that the configuration is applied regardless of the active profile, improving consistency and eliminating potential issues related to test environments.
@isontheline isontheline merged commit 3e2df78 into main May 28, 2024
1 check passed
@isontheline isontheline deleted the store-vector-init branch May 28, 2024 15:47
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