chore: Ruff format fix (#516)
<!-- .github/pull_request_template.md --> ## Description <!-- Provide a clear description of the changes in this PR --> ## DCO Affirmation I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Style** - Made minor internal formatting adjustments to improve consistency. These changes do not affect any visible functionality for end-users. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
parent
591576b424
commit
f3e296b171
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ async def index_data_points(data_points: list[DataPoint]):
|
|||
for index_name_and_field, indexable_points in index_points.items():
|
||||
first_occurence = index_name_and_field.index("_")
|
||||
index_name = index_name_and_field[:first_occurence]
|
||||
field_name = index_name_and_field[first_occurence + 1:]
|
||||
field_name = index_name_and_field[first_occurence + 1 :]
|
||||
try:
|
||||
await vector_engine.index_data_points(index_name, field_name, indexable_points)
|
||||
except EmbeddingException as e:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue