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

feat: provide vector store #772

Merged
merged 14 commits into from
Jun 19, 2024

Conversation

Pengguancheng
Copy link
Contributor

A similar PR may already be submitted!

Just want to finish this feature, thanks

implement vector strore api (including vector file + file batch)

https://platform.openai.com/docs/api-reference/vector-stores

Copy link

codecov bot commented Jun 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.89%. Comparing base (774fc9d) to head (aa0c892).
Report is 23 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #772      +/-   ##
==========================================
+ Coverage   98.46%   98.89%   +0.43%     
==========================================
  Files          24       26       +2     
  Lines        1364     1359       -5     
==========================================
+ Hits         1343     1344       +1     
+ Misses         15        9       -6     
  Partials        6        6              

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

@sashabaranov
Copy link
Owner

Thank you for updating #752 — looks good to me!

) (response VectorStoresList, err error) {
urlValues := url.Values{}

if pagination.After != nil {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you'll have time — it would be great to have a reusable func for this logic, there are 4 cases where we use it in this repo!

@sashabaranov sashabaranov merged commit 0a42130 into sashabaranov:master Jun 19, 2024
3 checks passed
@Pengguancheng Pengguancheng deleted the feature/vector-strore branch October 7, 2024 15:54
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.

3 participants