p = AutoPipes.pipeline('eqa-insert', config=config)
res = p('https://github.com/towhee-io/towhee/blob/main/README.md')
@ -70,14 +69,11 @@ Then you can run `collection.num_entities` to check the number of the data in Mi
### **EnhancedQAInsertConfig**
#### **Configuration for [Text Loader](https://towhee.io/towhee/text-loader):**
#### **Configuration for [Text Spliter](https://towhee.io/towhee/text-spliter):**
***chunk_size: int***
The size of each chunk, defaults to 300.
***source_type: str***
The type of the soure, defaults to `'file'`, you can also set to `'url'` for you url of your documentation.
#### **Configuration for Sentence Embedding:**
***model: str***
@ -88,12 +84,6 @@ You can refer to the above [Model(s) list ](https://towhee.io/tasks/detail/opera
The api key of openai, default to `None`.
This key is required if the model is from OpenAI, you can check the model provider in the above [Model(s) list](https://towhee.io/sentence-embedding/openai).
***customize_embedding_op: str***
The name of the customize embedding operator, defaults to `None`.
***normalize_vec: bool***
Whether to normalize the embedding vectors, defaults to `True`.
***device:*** ***int***
The number of devices, defaults to `-1`, which means using the CPU.
If the setting is not `-1`, the specified GPU device will be used.