Error when configuring Weaviate as destination with 'No External Embedding' option

Summary

When configuring Weaviate as a destination and selecting ‘No External Embedding’ option, the test is not passing due to an error related to abstract method ‘embed_documents’.


Question

Hi Team,

I am trying an connection between Mongo as Source and Destination as Weaviate.
When configuring Weaviate as destination and selecting “No External Embedding” under “Embedding” section, the test is not passing with below error.
I dont want to go through any embedding as I created the collection with a vectorizer in the weaviate itself.
Has anyone encountered this before. If so it would be great for any possible solution.

  File "/airbyte/integration_code/main.py", line 11, in <module>
    DestinationWeaviate().run(sys.argv[1:])
  File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/destinations/destination.py", line 119, in run
    for message in output_messages:
  File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/destinations/destination.py", line 109, in run_cmd
    yield self._run_check(config=config)
  File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/destinations/destination.py", line 32, in _run_check
    check_result = self.check(logger, config)
  File "/airbyte/integration_code/destination_weaviate/destination.py", line 49, in check
    self._init_indexer(parsed_config)
  File "/airbyte/integration_code/destination_weaviate/destination.py", line 29, in _init_indexer
    else NoEmbedder(config.embedding)
TypeError: Can't instantiate abstract class NoEmbedder with abstract method embed_documents```

<br>

---

This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. [Click here](https://airbytehq.slack.com/archives/C021JANJ6TY/p1723755155682629) if you want 
to access the original thread.

[Join the conversation on Slack](https://slack.airbyte.com)

<sub>
["weaviate-connector", "mongo-source", "no-external-embedding", "abstract-method-error"]
</sub>