For the ENABLE_MODULES: text2vec-transformers,qna-transformers,ner-transformers,sum-transformers,text-spellcheck,ref2vec-centroid,reranker-transformers
, how to use local qna-transformers
?
I tried using below as highlighted in QuickStart tutorial:
coll_create = client.collections.create(
name="forums_test_qna",
vectorizer_config = wvc.config.Configure.Vectorizer.text2vec_transformers()
generative_config = wvc.config.Configure.Generative.qna_transformers()
Vectorizer.text2vec_transformers()
worked fine. However, for Generative.qna_transformers()
got this error:
$ python weaviate_data_ingest_qna.py
Traceback (most recent call last):
File "weaviate_data_ingest_qna.py", line 35, in <module>
generative_config = wvc.config.Configure.Generative.qna_transformers(),
AttributeError: type object '_Generative' has no attribute 'qna_transformers'
Official doc - Question Answering - transfomers | Weaviate - Vector Database seems to missing the info where/how to configure local qna-transformers
?
Where I’m doing wrong? Pls help.
Thanks.