+
Skip to content

Conversation

karanataryn
Copy link
Contributor

@karanataryn karanataryn commented Oct 18, 2024

Adds unit tests for the Pinecone, Elasticsearch, and DuckDB readers and writers, fixes bugs, and refactors DuckDB to not hardcode the schema.

@karanataryn karanataryn changed the title Add Lots of Connector Tests Add Lots of Connector Unit Tests Oct 18, 2024
@karanataryn karanataryn marked this pull request as ready for review October 21, 2024 23:26
@karanataryn karanataryn requested a review from HenryL27 October 21, 2024 23:31
Copy link
Collaborator

@HenryL27 HenryL27 left a comment

Choose a reason for hiding this comment

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

lgtm. I gave up reading them thoroughly about halfway through but ya know, it's tests, as long as they're not testing that broken behavior stays broken they're good and I trust you not to have done that

text_representation="text",
bbox=(0.0, 0.0, 1.0, 1.0),
shingles=[1, 2, 3],
embedding=[0.1, 0.2, 0.3, 0.4],
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is a diff num dimensions than the target_params. Guess doesn't matter since mock but if we ever implement a runtime check won't this break stuff (prob good to have break anyway, so I'd leave it. just flagging)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right, think it might be best to leave it in, if we do implement a check we should change this test.

@karanataryn karanataryn enabled auto-merge (squash) October 22, 2024 19:06
@karanataryn karanataryn merged commit 92052e9 into main Oct 22, 2024
11 of 13 checks passed
@karanataryn karanataryn deleted the ksampath/add-tests branch October 22, 2024 19:14
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.

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载