-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Logan/merge next #10676
Conversation
Improve token counting
Merge latest main
Update fern client after eval API
s/textnodeparser/textsplitter etc
Merge latest main into next
...ices/llama-index-indices-managed-llama-cloud/llama_index/indices/managed/llama_cloud/base.py
Outdated
Show resolved
Hide resolved
...ons/embeddings/llama-index-embeddings-huggingface/llama_index/embeddings/huggingface/base.py
Outdated
Show resolved
Hide resolved
...s/embeddings/llama-index-embeddings-azure-openai/llama_index/embeddings/azure_openai/base.py
Show resolved
Hide resolved
# 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 |
There was a problem hiding this comment.
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
.github/workflows/unit_test.yml
Outdated
@@ -8,6 +8,8 @@ on: | |||
|
|||
env: | |||
POETRY_VERSION: "1.6.1" | |||
LLAMA_CLOUD_BASE_URL: ${{ secrets.PLATFORM_BASE_URL }} |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
No description provided.