Skip to main content
For the complete documentation index for agents and LLMs, see llms.txt.

Copy YAML for a Hosted Embedder or RerankerBeta

Beta
This is coming — this page describes a feature that's still being rolled out and may not be available to you yet.

To use a hosted embedder or reranker, copy its component YAML from the table and paste it into your pipeline. Each copied snippet is one component, indented so that you can paste it directly under components: in the pipeline YAML.

Embedders

  1. On the Embedders tab, click the YAML button at the end of the model's row.
  2. Choose a pipeline:
    • Indexing pipeline: Embeds your files into the index.
    • Query pipeline: Embeds the user's query.
  3. Paste the YAML under components: in the matching pipeline.

Use the same model in both pipelines. If you change the embedding model of an existing index, you must re-index your files, because the vectors from different models aren't compatible.

Rerankers

  1. On the Rerankers tab, click the YAML button at the end of the model's row. It copies the query pipeline YAML straight away.
  2. Paste the YAML under components: in your query pipeline.

Rerankers only go in query pipelines.

After you paste the YAML, connect the component to the others in the pipeline and save the pipeline to check that the YAML is valid. If the copy fails, check that your browser allows clipboard access for the platform and try again.