KobiGPT
FeaturesHow it worksPricingUse casesWhy choose us
Log inStart free
Log in

Cosine similarity

A similarity metric measuring the angle between two vectors — the mathematical basis of semantic search.

TL;DR

Metric comparing vector angles; common in semantic search.

Quick facts

Category
AI & knowledge management
Product tie-in
KobiGPT RAG platform
Related
See compare and tools pages
Locale
TR and EN site

Why teams choose KobiGPT

  • Understand terms before evaluating vendors.
  • Link concepts to KobiGPT features (RAG, Kobi Kredi).
  • Share glossary links with procurement and legal.
  • Explore assistant use cases next.

Product facts

Ücretsiz plan
100 doküman · 2 departman · 120 Kobi/ay(PLAN_CONFIG)
Starter
1000 doküman · 5 departman · 1000 Kobi/ay(PLAN_CONFIG)
Pro
12500 doküman · 25 departman · 12500 Kobi/ay(PLAN_CONFIG)

Why angle rather than distance?

Cosine similarity computes the cosine of the angle between two vectors; the result lies between -1 and 1, and closeness to 1 means greater directional similarity. What counts is the direction the vectors point in, not their length.

That is the desired behaviour in text search. A long document passage and a short question produce vectors of different magnitude; Euclidean distance penalises that difference, while cosine similarity looks only at semantic direction and ignores length.

How to read the scores

Cosine scores are not an absolute quality measure. A score of 0.82 may be excellent in one archive and mediocre in another; the value depends on the embedding model and the nature of the content. That is why relative ranking is used instead of a fixed threshold.

The practical consequence: the system retrieves the few highest-scoring passages, not those above an absolute cutoff. If nothing relevant exists in the archive, something is still returned — which is why the model's ability to say "there is no answer in this context" must be defined as separate behaviour.

Relationship to other metrics

Vector databases usually support several distance metrics: cosine, inner product, and Euclidean. On normalised vectors, cosine and inner product produce the same ranking, which is why many systems normalise vectors and use inner product.

The choice must match the embedding model. Whichever metric the model was trained for is the one to use; a mismatched metric causes a silent loss of precision that is hard to notice because it raises no error.

Applying Why angle rather than distance? in a controlled workflow

A useful way to evaluate cosine-similarity is to follow one real question from the source document to the final answer. Record which file was selected, what context reached the model, and what a reviewer would need to verify. This turns a definition into an operational check and makes the result comparable across teams.

The same check should include ownership and change management. Decide who updates the relevant documents, how an outdated result is reported, and which access boundary applies. KobiGPT can provide the assistant and the cited document context, but the organisation still owns the source material, permissions, and the decision made from the answer.

FAQ

What is Cosine in practice?

Metric comparing vector angles; common in semantic search.

Does KobiGPT use this?

See product docs and feature pages for implementation details.

More reading?

Visit our blog and FAQ.

Accuracy disclaimer?

Educational content; verify for compliance decisions.

Can we set a score threshold?

The system uses relative ranking. Absolute thresholds vary by embedding model and content, so they are not reliable on their own.

Does a high score mean a correct answer?

No. A high score indicates semantic proximity; to judge correctness, check the source passage shown with the answer.

Comparison

FeatureKobiGPTAlternative
SME focusYesN/A
CitationsWhen using RAGN/A
Glossary depthGrowingN/A
ToolsInteractiveN/A

Related pages

  • Full glossary
  • Use cases
  • Blog

Deploy department AI assistants on your documents.

Start free

View pricing

KobiGPTKobiGPT

Dedicated AI assistants for your company — assistant-scoped workflows trained on your own data.

Phone0850 242 85 53
Email[email protected]

Language

Choose interface language

Product

  • Features
  • How it works
  • Pricing
  • Use cases

Company

  • About
  • Blog
  • FAQ
  • Contact
  • Terms of Service
  • Privacy notice (KVKK)
  • Privacy policy
  • Cookie policy
  • Delivery & returns
  • Distance sales
  • Explicit consent
  • Data processing (DPA)
Accepted payment methods:PayTR, Mastercard, VISA, American Express, Troy

© 2024 KobiGPT. All rights reserved.

Designed and built in Türkiye.