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

Add wasm version of jsonnet #313

Closed
wants to merge 84 commits into from
Closed

Conversation

rahul007-bit
Copy link
Collaborator

No description provided.

ArthSrivastava and others added 30 commits August 28, 2023 00:01
* Google Java Format

* Google Java Format

* Google Java Format

* context chunk table integration

* fixed some query issues

* fixed duplicate retrieval of context chunk

* metadata enrichment support

* join table support added for many to one relationship

* join table, fetch from multiple metadata tables

* fixed issues with fetching from multiple metadata tables, added support for title and document date

* added tests for metadata repository

---------

Co-authored-by: github-actions <>
… Index Query. (arakoodev#199)

* Adding JsonConverter

* Fixing Issues

* Fixing Issues

* Adding Null checks for toJson()

* Adding Args to OpenAI Endpoint

* Refining PgVector Create Table/Index Query

* Prompt A/B Testing

* Prompt A/B Testing

* Resolving Issues

* Resolving Conflict
* Google Java Format

* Google Java Format

* Google Java Format

* Google Java Format

* exception handling and improved string manipulation in jsonnet

---------

Co-authored-by: github-actions <>
* Google Java Format

* Google Java Format

* Google Java Format

* Google Java Format

* Batch Parallelization For Embedding -> Upsertion

* Batch Parallelization For Embedding -> Upsertion

* Batch Parallelization For Embedding -> Upsertion

* Batch Parallelization For Embedding -> Upsertion

* Temporary Resolve Testcase For Metadata Repo.

* Batch Parallelization For Embedding -> Upsertion

* Batch Parallelization For Embedding -> Upsertion

* metadata parallelization and uuid fix

* minor bug fixes

* probes, list fix

* Unwrapping FloatUtils

* pattern matching for metadata table

* Batch Parallelization: Generate Embeddings --> Upsert

* Batch Parallelization: Generate Embeddings --> Upsert

* Modifying Redis Example

* pattern matching and other fixes

* formatting and exception handling

* Tweaking Parallelization

* separate column for document date

* Fixing Conflict

---------

Co-authored-by: github-actions <>
Co-authored-by: EmadHanif <[email protected]>
Co-authored-by: Emad Hanif <[email protected]>
* Added parent pom

- common dependency versions
- Spring Boot 3.0.5 was the best option given the odd security configuration (breaks in later versions)
- manual test: chat app to show integration with edgechain app

* Plugin version

* tidy
* Add exclusions to pom to prevent test issues

- xml-apis excluded due to duplicate modules
- vaadin excluded to prevent duplicate classes in tests

* Use logger template {} instead of string concats

- plus test

* use closeable resources correctly to prevent links in BgSmallEndpoint

- plus test
- more logging including exception if there is one
- logger now static final to avoid serialisation

* Logging and pointless set

* Unused/duplicate imports, beans do not need public

- consistent logging with templates {}
- missing generics on row iterator
- missing @transactional to ensure state is same as called method
- generic <T> is implied

* Improve replaceAll, plus unit tests

* Swap replaceAll with replace, plus tests

- make the default namespace logic a common method
- white space consistent across methods
- tests check successful repo calls, and exception-generating repo calls

* Code quality

- must reset Retrofit after each test

* Create a small test support class

- sometimes we need to inject a mock into a private static field
- pair of methods to setup/teardown application context
- pair of methods to setup/teardown retrofit

* error message tidy

* logging with templates

* Test for EmbeddingLogService createTable

- uses TestContainer
- test is ignored if Docker is not running

* Code quality

- use model folder constant

* Move ObjectMapper out (heavy instance) and get thread-safe instance with
readerFor()

* Code quality for TestContainersStarter

- try.. with.. for file reads and writes
- logging
- allows for setting path of properties (for tests)
- docker test is ignored if docker is not running

* Imports as per original (more or less)

* import order

* Example TestContainer-based test for PostgreSQL history context

- tests full cycle: create, put, get, delete
- test ignored if Docker not running
- consistent logging

* disabled test (breaks Github)

- need to work around Retrofit call
- noticed builds would hang for six hours on Github
- due to test breaking interceptor with non IOException
- fix interceptor with a try..catch
- test for interceptor
- reinstate BgeSmallEndpoint test
- local build + jar run with test java completed ok
* Google Java Format

* Google Java Format

* Google Java Format

* Google Java Format

* queryWithMetadata() separate method for fixing some issues

---------

Co-authored-by: github-actions <>
@github-actions github-actions bot locked and limited conversation to collaborators Feb 29, 2024
@rahul007-bit rahul007-bit deleted the wasm branch March 1, 2024 05:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants