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

Base class for Integ test; add integ test for NeuralSparseSearchTool #86

Merged
merged 12 commits into from
Jan 2, 2024

Conversation

zhichao-aws
Copy link
Member

Description

Base class for Integ test; add integ test for NeuralSparseSearchTool

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: zhichao-aws <[email protected]>
Signed-off-by: zhichao-aws <[email protected]>
Signed-off-by: zhichao-aws <[email protected]>
Signed-off-by: zhichao-aws <[email protected]>
Signed-off-by: zhichao-aws <[email protected]>
Signed-off-by: zhichao-aws <[email protected]>
Signed-off-by: zhichao-aws <[email protected]>
Signed-off-by: zhichao-aws <[email protected]>
Copy link

codecov bot commented Dec 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (051b79a) 81.29% compared to head (90fb110) 81.29%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main      #86   +/-   ##
=========================================
  Coverage     81.29%   81.29%           
  Complexity      152      152           
=========================================
  Files            12       12           
  Lines           882      882           
  Branches        115      115           
=========================================
  Hits            717      717           
  Misses          106      106           
  Partials         59       59           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: zhichao-aws <[email protected]>
@zhichao-aws
Copy link
Member Author

ready for review

@xinyual
Copy link
Collaborator

xinyual commented Dec 29, 2023

@zhichao-aws Thanks for your effort. Since we are planning to use remote inference, can you add a function for registering connector?

Signed-off-by: zhichao-aws <[email protected]>
@zhichao-aws
Copy link
Member Author

@zhichao-aws Thanks for your effort. Since we are planning to use remote inference, can you add a function for registering connector?

Sure.

@zane-neo zane-neo merged commit 34ae75f into opensearch-project:main Jan 2, 2024
13 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 2, 2024
…86)

* add common components

Signed-off-by: zhichao-aws <[email protected]>

* add common components

Signed-off-by: zhichao-aws <[email protected]>

* add basic components

Signed-off-by: zhichao-aws <[email protected]>

* rebase main

Signed-off-by: zhichao-aws <[email protected]>

* add basic components for it, add it

Signed-off-by: zhichao-aws <[email protected]>

* rebase main

Signed-off-by: zhichao-aws <[email protected]>

* tidy

Signed-off-by: zhichao-aws <[email protected]>

* change neural sparse model to pretrained tokenizer

Signed-off-by: zhichao-aws <[email protected]>

* rm redundant line

Signed-off-by: zhichao-aws <[email protected]>

* add comments

Signed-off-by: zhichao-aws <[email protected]>

* tidy

Signed-off-by: zhichao-aws <[email protected]>

* add register connector

Signed-off-by: zhichao-aws <[email protected]>

---------

Signed-off-by: zhichao-aws <[email protected]>
(cherry picked from commit 34ae75f)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
zhichao-aws added a commit that referenced this pull request Jan 2, 2024
…arseSearchTool (#91)

* Base class for Integ test; add integ test for NeuralSparseSearchTool (#86)

* add common components

Signed-off-by: zhichao-aws <[email protected]>

* add common components

Signed-off-by: zhichao-aws <[email protected]>

* add basic components

Signed-off-by: zhichao-aws <[email protected]>

* rebase main

Signed-off-by: zhichao-aws <[email protected]>

* add basic components for it, add it

Signed-off-by: zhichao-aws <[email protected]>

* rebase main

Signed-off-by: zhichao-aws <[email protected]>

* tidy

Signed-off-by: zhichao-aws <[email protected]>

* change neural sparse model to pretrained tokenizer

Signed-off-by: zhichao-aws <[email protected]>

* rm redundant line

Signed-off-by: zhichao-aws <[email protected]>

* add comments

Signed-off-by: zhichao-aws <[email protected]>

* tidy

Signed-off-by: zhichao-aws <[email protected]>

* add register connector

Signed-off-by: zhichao-aws <[email protected]>

---------

Signed-off-by: zhichao-aws <[email protected]>
(cherry picked from commit 34ae75f)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* fix http dependency

Signed-off-by: zhichao-aws <[email protected]>

* tidy

Signed-off-by: zhichao-aws <[email protected]>

* fix read http entity twice

Signed-off-by: zhichao-aws <[email protected]>

---------

Signed-off-by: zhichao-aws <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: zhichao-aws <[email protected]>
yuye-aws pushed a commit to yuye-aws/skills that referenced this pull request Apr 26, 2024
…arseSearchTool (opensearch-project#91)

* Base class for Integ test; add integ test for NeuralSparseSearchTool (opensearch-project#86)

* add common components

Signed-off-by: zhichao-aws <[email protected]>

* add common components

Signed-off-by: zhichao-aws <[email protected]>

* add basic components

Signed-off-by: zhichao-aws <[email protected]>

* rebase main

Signed-off-by: zhichao-aws <[email protected]>

* add basic components for it, add it

Signed-off-by: zhichao-aws <[email protected]>

* rebase main

Signed-off-by: zhichao-aws <[email protected]>

* tidy

Signed-off-by: zhichao-aws <[email protected]>

* change neural sparse model to pretrained tokenizer

Signed-off-by: zhichao-aws <[email protected]>

* rm redundant line

Signed-off-by: zhichao-aws <[email protected]>

* add comments

Signed-off-by: zhichao-aws <[email protected]>

* tidy

Signed-off-by: zhichao-aws <[email protected]>

* add register connector

Signed-off-by: zhichao-aws <[email protected]>

---------

Signed-off-by: zhichao-aws <[email protected]>
(cherry picked from commit 34ae75f)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* fix http dependency

Signed-off-by: zhichao-aws <[email protected]>

* tidy

Signed-off-by: zhichao-aws <[email protected]>

* fix read http entity twice

Signed-off-by: zhichao-aws <[email protected]>

---------

Signed-off-by: zhichao-aws <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: zhichao-aws <[email protected]>
Signed-off-by: yuye-aws <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants