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:remove estimation of embedding cost #7950

Merged
merged 10 commits into from
Sep 4, 2024

Conversation

JzoNgKVO
Copy link
Contributor

@JzoNgKVO JzoNgKVO commented Sep 4, 2024

Checklist:

Important

Please review the checklist below before submitting your pull request.

  • Please open an issue before creating a PR or link to an existing issue
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods

Description

remove estimation of embedding cost.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update, included: Dify Document
  • Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement
  • Dependency upgrade

Testing Instructions

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

JohnJyong and others added 4 commits September 4, 2024 11:36
# Conflicts:
#	api/controllers/console/datasets/datasets_document.py
#	api/services/dataset_service.py
#	web/app/components/datasets/create/step-two/index.tsx
…ing-cost' into feat/remove-estimation-of-embedding-cost
@JzoNgKVO JzoNgKVO marked this pull request as ready for review September 4, 2024 05:18
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. 👻 feat:rag Embedding related issue, like qdrant, weaviate, milvus, vector database. labels Sep 4, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 4, 2024
@JohnJyong JohnJyong merged commit 14af875 into main Sep 4, 2024
9 checks passed
@JohnJyong JohnJyong deleted the feat/remove-estimation-of-embedding-cost branch September 4, 2024 06:41
mehrajagdish pushed a commit to Sbazar-GmbH/dify that referenced this pull request Sep 6, 2024
@18075717849
Copy link

Why was this feature removed?

@ZuzooVn
Copy link
Contributor

ZuzooVn commented Sep 7, 2024

Why was this feature removed?

same question

@ZuzooVn
Copy link
Contributor

ZuzooVn commented Sep 14, 2024

@crazywoola can you explain the reason for removing this feature? Thanks

@crazywoola
Copy link
Member

@JohnJyong

@JohnJyong
Copy link
Contributor

The cost of embedding is already very low. Calling the API to calculate the estimated price will affect efficiency. Many embedding models do not even have an API to calculate the price.

cuiks pushed a commit to cuiks/dify that referenced this pull request Sep 26, 2024
lau-td pushed a commit to heydevs-io/dify that referenced this pull request Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👻 feat:rag Embedding related issue, like qdrant, weaviate, milvus, vector database. lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants