Skip to content

Conversation

@slivering
Copy link

Closes #111

Summary:

  • Replaces string interpolation with query templating when using a filter expression with Milvus
  • Quotes URLs returned by list_files so special characters are properly escaped

interpolation for Milvus queries

Use Milvus filter_params or expr_params argument when a partition
name or file id is used for filtering (not needed for chunk id).

Filtering templating removes risks of SQL injection when the names
can be arbitrary strings. Furthermore, it enables special characters
in identifiers, such as ' and \n.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deleting partition fails when partition name contains some special characters

1 participant