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

[Feature Request]: More examples are needed. #1490

Closed
JinHai-CN opened this issue Jul 17, 2024 · 2 comments
Closed

[Feature Request]: More examples are needed. #1490

JinHai-CN opened this issue Jul 17, 2024 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation feature request New feature or request

Comments

@JinHai-CN
Copy link
Contributor

JinHai-CN commented Jul 17, 2024

Describe what you'd like

We need more examples to show how to use tensor data search, tensor data reranker and structured data filter.

  1. Tensor data search. https://github.com/infiniflow/infinity/blob/main/example/tensor_search.py
  2. Structured data filter. https://github.com/infiniflow/infinity/blob/main/example/filter_data.py
  3. More complex hybrid search: https://github.com/infiniflow/infinity/blob/main/example/hybrid_search.py

Python SDK documents also need to update due to tensor and sparse data, index and search parameter.

@JinHai-CN JinHai-CN added feature request New feature or request documentation Improvements or additions to documentation labels Jul 17, 2024
@JinHai-CN JinHai-CN changed the title [Feature Request]: Two more examples are needed. [Feature Request]: More examples are needed. Jul 17, 2024
JinHai-CN pushed a commit that referenced this issue Jul 18, 2024
### What problem does this PR solve?



Issue link:#1490

### Type of change


- [x] Refactoring
JinHai-CN pushed a commit that referenced this issue Jul 19, 2024
### What problem does this PR solve?

_Briefly describe what this PR aims to solve. Include background context
that will help reviewers understand the purpose of the PR._

Issue link:#1490

### Type of change

- [x] Refactoring
JinHai-CN pushed a commit that referenced this issue Jul 19, 2024
### What problem does this PR solve?

_Briefly describe what this PR aims to solve. Include background context
that will help reviewers understand the purpose of the PR._

Issue link:#1490

### Type of change

- [x] Documentation Update
- [x] Refactoring
JinHai-CN pushed a commit that referenced this issue Jul 23, 2024
### What problem does this PR solve?



Issue link:#1490

### Type of change

- [x] Documentation Update
JinHai-CN added a commit that referenced this issue Jul 24, 2024
### What problem does this PR solve?

_Briefly describe what this PR aims to solve. Include background context
that will help reviewers understand the purpose of the PR._

Issue link:#1490

### Type of change

- [x] Documentation Update

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
Co-authored-by: Jin Hai <haijin.chn@gmail.com>
JinHai-CN pushed a commit that referenced this issue Jul 25, 2024
### What problem does this PR solve?

_Briefly describe what this PR aims to solve. Include background context
that will help reviewers understand the purpose of the PR._

Issue link:#1490

### Type of change

- [x] Documentation Update
JinHai-CN pushed a commit that referenced this issue Jul 26, 2024
### What problem does this PR solve?

_Briefly describe what this PR aims to solve. Include background context
that will help reviewers understand the purpose of the PR._

Issue link:#1490

### Type of change


- [x] Documentation Update
JinHai-CN pushed a commit that referenced this issue Jul 30, 2024
### What problem does this PR solve?

_Briefly describe what this PR aims to solve. Include background context
that will help reviewers understand the purpose of the PR._

Issue link:#1490

### Type of change

- [x] Documentation Update
JinHai-CN pushed a commit that referenced this issue Jul 30, 2024
### What problem does this PR solve?

Issue link:#1490

### Type of change


- [x] Documentation Update
JinHai-CN pushed a commit that referenced this issue Jul 31, 2024
### What problem does this PR solve?

Issue link:#1490

### Type of change

- [x] Documentation Update
JinHai-CN pushed a commit that referenced this issue Jul 31, 2024
### What problem does this PR solve?

Issue link:#1490

### Type of change

- [x] Documentation Update
JinHai-CN pushed a commit that referenced this issue Aug 2, 2024
### What problem does this PR solve?

Issue link:#1490

### Type of change


- [x] Documentation Update
JinHai-CN added a commit that referenced this issue Aug 5, 2024
### What problem does this PR solve?


Issue link:#1490

### Type of change

- [x] Documentation Update

---------

Co-authored-by: Jin Hai <haijin.chn@gmail.com>
JinHai-CN pushed a commit that referenced this issue Aug 5, 2024
### What problem does this PR solve?

_Briefly describe what this PR aims to solve. Include background context
that will help reviewers understand the purpose of the PR._

Issue link:#1490

### Type of change

- [x] Documentation Update
JinHai-CN pushed a commit that referenced this issue Aug 6, 2024
### What problem does this PR solve?


Issue link:#1490

### Type of change


- [x] Documentation Update
JinHai-CN pushed a commit that referenced this issue Aug 6, 2024
### What problem does this PR solve?

Issue link:#1490

### Type of change

- [x] Documentation Update
@writinwaters writinwaters mentioned this issue Aug 6, 2024
1 task
JinHai-CN pushed a commit that referenced this issue Aug 6, 2024
### What problem does this PR solve?

_Briefly describe what this PR aims to solve. Include background context
that will help reviewers understand the purpose of the PR._

Issue link:#1490

### Type of change

- [x] Documentation Update
JinHai-CN pushed a commit that referenced this issue Aug 7, 2024
### What problem does this PR solve?

_Briefly describe what this PR aims to solve. Include background context
that will help reviewers understand the purpose of the PR._

Issue link:#1490

### Type of change

- [x] Documentation Update
JinHai-CN pushed a commit that referenced this issue Aug 8, 2024
### What problem does this PR solve?


Issue link:#1490

### Type of change

- [x] Documentation Update
@writinwaters writinwaters mentioned this issue Aug 8, 2024
1 task
JinHai-CN pushed a commit that referenced this issue Aug 8, 2024
### What problem does this PR solve?

Issue link:#1490

### Type of change

- [x] Documentation Update
JinHai-CN pushed a commit that referenced this issue Aug 9, 2024
### What problem does this PR solve?


Issue link:#1490
### Type of change


- [x] Documentation Update
@bash99
Copy link

bash99 commented Aug 11, 2024

And Please don't use fake data for sparse/tense vector.

Just use some small embedding model to encode data.

JinHai-CN pushed a commit that referenced this issue Aug 13, 2024
### What problem does this PR solve?


Issue link:#1490

### Type of change

- [x] Documentation Update
JinHai-CN pushed a commit that referenced this issue Aug 14, 2024
### What problem does this PR solve?


Issue link:#1490

### Type of change

- [x] Documentation Update
@writinwaters writinwaters mentioned this issue Aug 15, 2024
1 task
JinHai-CN pushed a commit that referenced this issue Aug 15, 2024
### What problem does this PR solve?

Issue link:#1490

### Type of change


- [x] Documentation Update
@JinHai-CN
Copy link
Contributor Author

And Please don't use fake data for sparse/tense vector.

Just use some small embedding model to encode data.

Ok, we will also provide some examples using real data.

JinHai-CN pushed a commit that referenced this issue Aug 19, 2024
### What problem does this PR solve?

Miscellaneous editorial updates to Python API reference. 

Issue link:#1490

### Type of change

- [x] Documentation Update
JinHai-CN pushed a commit that referenced this issue Aug 23, 2024
### What problem does this PR solve?

Issue link:#1490

### Type of change

- [x] Documentation Update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants