Skip to content
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

feat/vectara-destination-to-v2 #158

Merged
merged 59 commits into from
Dec 20, 2024

Conversation

guilherme-uns
Copy link
Contributor

No description provided.

@bryan-unstructured bryan-unstructured added ready for review This PR is complete and ready for a review and removed needs edits This PR has been reviewed and needs edits to be complete labels Nov 28, 2024
customer_id="2268229652",
corpus_name=f"test-corpus-vectara-{random.randint(1000,9999)}",
corpus_id="3232",
token_url="https://vectara-prod-{}.auth.us-west-2.amazoncognito.com/oauth2/token",
Copy link
Contributor

Choose a reason for hiding this comment

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

General question, does this example run out of the box (as is), or should user eg. create new Vectara cluster and replace here some vars like corpus_id or customer_id?

Copy link
Contributor

Choose a reason for hiding this comment

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

From my past impression, connectors are not supposed to create cluster/db/index if they don't exist. So this example won't work out of the box. User needs to create corpora first, then replace the ids here.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, then adding a short comment about it would be good/helpful for the users, who won't need to look into code of connector to know that it has to be done. Or run it without creating, and getting confused by errors. Other connectors don't have such comments, but we could start by increasing the standard here.

unstructured_ingest/v2/processes/connectors/vectara.py Outdated Show resolved Hide resolved
unstructured_ingest/v2/processes/connectors/vectara.py Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
test/integration/connectors/test_vectara.py Outdated Show resolved Hide resolved
unstructured_ingest/v2/processes/connectors/vectara.py Outdated Show resolved Hide resolved
unstructured_ingest/v2/processes/connectors/vectara.py Outdated Show resolved Hide resolved
Copy link
Contributor

@hubert-rutkowski85 hubert-rutkowski85 left a comment

Choose a reason for hiding this comment

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

LGTM, but before merging please change branch to which it is merged, to current release branch (like release/0.3.7) and fix conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review This PR is complete and ready for a review v2 migration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

migrate vectara connector to v2
5 participants