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

Logan/merge next #10676

Merged
merged 421 commits into from
Feb 16, 2024
Merged

Logan/merge next #10676

merged 421 commits into from
Feb 16, 2024

Conversation

logan-markewich
Copy link
Collaborator

No description provided.

@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Feb 15, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Feb 15, 2024
Comment on lines +122 to +145
# check if dataset already exists
cur_dataset = None
for dataset in existing_datasets:
if dataset.name == dataset_name:
if overwrite:
assert dataset.id is not None
client.eval.delete_dataset(dataset_id=dataset.id)
break
elif not append:
raise ValueError(
f"Dataset {dataset_name} already exists in project {project_name}."
" Set overwrite=True to overwrite or append=True to append."
)
else:
cur_dataset = dataset
break

# either create new dataset or use existing one
if cur_dataset is None:
eval_dataset = client.project.create_eval_dataset_for_project(
project_id=project.id, name=dataset_name
)
else:
eval_dataset = cur_dataset
Copy link
Contributor

Choose a reason for hiding this comment

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

note to self - we should create a backend upsert endpoint for this

@@ -8,6 +8,8 @@ on:

env:
POETRY_VERSION: "1.6.1"
LLAMA_CLOUD_BASE_URL: ${{ secrets.PLATFORM_BASE_URL }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

do we need this? assuming we are not running integration tests here, seem extra.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yea thats stay stuff. We can remove for now

@logan-markewich logan-markewich merged commit a50303f into main Feb 16, 2024
8 checks passed
@logan-markewich logan-markewich deleted the logan/merge_next branch February 16, 2024 03:51
Dominastorm pushed a commit to uptrain-ai/llama_index that referenced this pull request Feb 28, 2024
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:XXL This PR changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants