• SEARCH
  • STORAGE
  • ORGANIZATION
  • HUMAN

How to generate text embeddings with your AI

Connect Lingyi Wanwu to your AI client to convert text into vectors. This lets your agent find information based on meaning instead of just keyword matching.

Ask AI about this page

Short answer

How do I turn text into vectors?

Use the get_embeddings tool to transform your text into high-dimensional vectors. These vectors represent semantic meaning, which helps your agent perform much more accurate searches. You'll see how this works in the breakdown below.

The outcomes

Where your data goes

Once the AI processes your text, you can use the resulting vectors for several different tasks.

SEARCH

Semantic retrieval

The AI uses the vectors to find relevant content even when the exact words don't match. This makes finding information much more intuitive.

STORAGE

Vector databases

You get the numerical data needed to populate a vector store. This sets the stage for building a custom knowledge base.

ORGANIZATION

Clustering data

The AI can group similar pieces of text together based on their mathematical proximity. This helps you categorize large amounts of information.

HUMAN

Manual selection

You decide which specific text chunks are worth converting. The AI won't pick your data for you; you control the input.

The workflow

What your AI does when text arrives.

The AI handles the heavy lifting of converting language into math.

  1. Text preparation

    Your agent takes the raw text you provide and formats it for the Yi model family. It ensures the input is ready for processing.

    get_embeddings
  2. Vector calculation

    The model processes the text to generate high-dimensional vectors. This step captures the semantic essence of your input.

    get_embeddings
  3. Result delivery

    The tool sends the resulting vectors back to your AI client. You can then use these numbers for your specific workflow.

    get_embeddings
  4. User verification

    You check the output to confirm the vector dimensions are correct for your needs. This final step is handled by you.

    get_embeddings

Try it

Copy these to start.

Use these prompts to start generating embeddings immediately.

Starting points

Swap out the bracketed text for your actual content or file names.

Lingyi Wanwu Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_JkyG9ZUTy0GPyUj394Vmol76jPwT4EVBKA0NvupX/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Lingyi Wanwu capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "lingyi-wanwu-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_JkyG9ZUTy0GPyUj394Vmol76jPwT4EVBKA0NvupX/mcp"
    }
  }
}
Copy into chat04
  • Generate embeddings for this paragraph: [paste text here]

  • Convert the contents of my 'project_notes.txt' file into vectors.

  • Get embeddings for these three product descriptions so I can compare them.

  • Create a vector for this specific user query: [insert query]

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Lingyi Wanwu once, then ask.

Connect your client with one click. Your credentials stay encrypted on our side, and you can start working right away.

Connect Lingyi Wanwu to your AI

FAQ

How this task behaves

  • 01

    Can the AI embed my entire hard drive?

    No. You have to provide the specific text or files you want the agent to process.

  • 02

    Does this tool save my text in a database?

    No. The tool only generates vectors from the text you provide; it doesn't store your data.

  • 03

    Can the AI change my original text files?

    No. The get_embeddings tool only reads text to create vectors. It cannot edit or delete your files.

  • 04

    What happens if the text is too long?

    The AI client will handle the text according to the model's limits before sending it to the tool.

  • 05

    Can I use these vectors in other tools?

    Yes. Once your agent receives the vectors, you can use them in any compatible client or database.

  • More questions about Lingyi Wanwu? The Connector page answers them. See everything the Lingyi Wanwu Connector can do

Connect Lingyi Wanwu to Claude, Cursor, ChatGPT & more