Skip to content

Conversation

jlewi
Copy link

@jlewi jlewi commented Feb 9, 2025

The filename is being truncated to just the base name when being set in uploaded files.

Without this change if you set filename to "somedir/somesubset/file1.md" it will be set to "file1.md". With this change it will be "somedir/somesubset/file1.md". Not truncating the filename is pretty important in order to be able to track the files in the vector store.

Not sure if we need to make this change in a backwards compatible way and if so how to do it.

Fix #222

@jlewi jlewi requested a review from a team as a code owner February 9, 2025 23:55
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.

filename with the files API is truncated to the base name
1 participant