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

fixed storage context update & service context issue #11475

Merged
merged 7 commits into from
Mar 1, 2024

Conversation

knozdogan
Copy link
Contributor

@knozdogan knozdogan commented Feb 28, 2024

Description

Fixes #11474

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

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

  • I stared at the code and made sure it makes sense

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Feb 28, 2024
@logan-markewich logan-markewich enabled auto-merge (squash) February 28, 2024 16:28
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Feb 28, 2024
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:XS This PR changes 0-9 lines, ignoring generated files. labels Feb 28, 2024
@logan-markewich
Copy link
Collaborator

I fixed the JSON test issues in another PR, but this seems to be breaking the KG index when building a fresh index.

Try

cd llama-index-core
pip install -e .
pytest tests

To see what I mean

auto-merge was automatically disabled February 28, 2024 20:16

Head branch was pushed to by a user without write access

@knozdogan
Copy link
Contributor Author

I realized that issue and fixed it to move the line into if conditions. I can create KG index with fresh building. However, when building a fresh index, it will call "add_index_struct" two times.

@knozdogan
Copy link
Contributor Author

@logan-markewich my last commit passed the tests 🥳 #11474 should be resolved now.

@logan-markewich logan-markewich merged commit 7acf7f0 into run-llama:main Mar 1, 2024
7 checks passed
anoopshrma pushed a commit to anoopshrma/llama_index that referenced this pull request Mar 2, 2024
bdonkey added a commit to bdonkey/gpt_index that referenced this pull request Mar 5, 2024
* main: (2881 commits)
  Feature: Improve batch embedding generation throughput for Cohere in Bedrock (run-llama#11572)
  tqdm: add tdqm.gather (run-llama#11562)
  Fix URLs in Prompts documentation (run-llama#11571)
  Corrected colab links (run-llama#11577)
  add syntatic sugar to create chat prompt / chat message more easily  (run-llama#11583)
  Fix Issue 11565 - The MilvusVectorStore MetaDataFilters FilterCondition.OR is ignored (run-llama#11566)
  docs: fixes LangfuseCallbackHandler link (run-llama#11576)
  GHA: Add Check for repo source (run-llama#11575)
  add raptor (run-llama#11527)
  Logan/v0.10.15 (run-llama#11551)
  feat: adds langfuse callback handler (run-llama#11324)
  fixed storage context update & service context issue (run-llama#11475)
  Add async capability to OpensearchVectorStore (run-llama#11513)
  Logan/fix publish (run-llama#11549)
  Prevent async_response_gen from Stalling with asyncio Timeout (run-llama#11548)
  VideoDB Integration for Retrievers (run-llama#11463)
  fix import error in CLI (run-llama#11544)
  Updated the simple fusion to handle duplicate nodes (run-llama#11542)
  Add mixedbread reranker cookbook (run-llama#11536)
  Fixed some minor gramatical issues (run-llama#11530)
  ...
Izukimat pushed a commit to Izukimat/llama_index that referenced this pull request Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
2 participants