Guide To Vectors
  • Introduction
  • Guide to this Book
  • API documentation
  • Python SDK Documentation
  • Learn about vectors
    • 🌱Introduction to vectors
      • 🌱Applications of vectors
        • 🌱Vectors for classification
      • 🌱Limitations of vectors
    • 🌱What is vector search?
      • 🌱How to vector search
      • 🌱How to build image to text search using code
      • 🧍Try vector search with playground!
      • 💻Vector search with code
    • 🌱Terminology Guide
  • Unlock Vector AI
    • 🔍Inserting Into Vector AI
      • 🧍Inserting with playground
      • 💻Inserting with API
        • 💻Inserting with API - encoding while inserting (recommended)
        • 💻Inserting with API - encoding before inserting
        • 💻Inserting with API - encoding after inserting
      • 🧍How to check insertion succeeded
    • 🔍Searching with Vector AI
      • 🌱How to search with the playground
      • 🌱Combining with traditional search
        • 🧍How to combine exact text search with vector search
        • 💻How to add exact text search to vector search
      • 🌱Personalisation with vector search
        • 💻Personalised search/recommendations with vector search
      • 🌱Chunk search
        • 💻How To Chunk Search
        • 💻How To Do MultiVector Chunk Search
        • 💻How to do multi step chunk search
      • 🧍How to diversify search results
    • 🔍Clustering
      • 🌱Clustering Vectors From Deep Learning models
    • 🔍Aggregation
      • 💻Writing Your First Aggregation
      • 💻Publishing Your First Aggregation
    • 🔍Experimentation
      • 🌱Vector Evaluation
        • 🌱Evaluate Vector Bias
    • 🔍Jobs
      • 💻Tagging Jobs
      • 💻Chunking Jobs
      • 💻Encoding Jobs
      • 🧍List all jobs (active and inactive)
    • 🔍Encoding
    • 🔍Maintenance & Monitoring
      • 🧍How to view your collections
      • 💻How to share your collections
      • 💻How to back up your collections
      • 💻How to change name of a collection field
      • 💻How to change the schema of a collection
      • 💻How to remove a field in a collection
      • 💻How to request a read API key
  • Tutorials
    • 💻How to turn data into Vectors (code)
      • 💻How to turn text into Vectors
      • 💻How to turn images Into Vectors
      • 💻How to turn audio into Vectors
    • 💻Image Search For Developers
    • 💻How To Combine Different Vectors For Search
    • 💻How To Combine Different Vectors With Exact Matching Text
    • 💻Semantic NLP search with FAISS and VectorHub
  • ABOUT
    • Credits
    • Philosophy
    • Glossary
Powered by GitBook
On this page

Was this helpful?

  1. Unlock Vector AI
  2. Inserting Into Vector AI

Inserting with API

Inserting with the Vector AI API

PreviousInserting with playgroundNextInserting with API - encoding while inserting (recommended)

Last updated 4 years ago

Was this helpful?

If you are looking for more flexibility when you are inserting your documents via the API or Python SDK, then the following is for you:

When inserting your data into Vector AI, you will need a way to encode vectors as you insert. As a result, we have built a few ways to allow users to flexibly encode vectors.

There is no right endpoint for inserting. Different users will have different insertion and encoding preferences based on technical requirements. A few examples of such situations:

  • Shirley (data scientist) needs to insert her data into Vector AI. However, her model is not yet deployed and she needs to test the results before deploying to ensure her vectors work as intended. So she encodes all her documents prior to inserting and searches using her locally saved model.

  • Krissy (data engineer) has just deployed her model. However, over time, she realizes she can't keep encoding her models locally as she is not always at her computer. Instead, she ploys her model and ensures that she is able to encode while inserting to ensure that her stakeholders are using the right data.

  • Tom (machine learning engineer) has a serious amount of data. He realizes he needs to run an encoding job later and try out different vector searches. For this, he quickly inserts them all into Vector AI and then runs multiple different encoding jobs that adds new vectors afterwards.

🔍
💻
Various endpoints to allow for flexible insertion and encoding