Skip to main content
Glama
SemanticSearchResult.cs1.14 kB
namespace NetContextClient.Models; /// <summary> /// Model for an individual semantic search result /// </summary> public class SemanticSearchResult { /// <summary> /// Gets or sets the file path where the search result was found. /// </summary> public string FilePath { get; set; } = string.Empty; /// <summary> /// Gets or sets the starting line number of the result in the file (1-based). /// </summary> public int StartLine { get; set; } /// <summary> /// Gets or sets the ending line number of the result in the file (1-based). /// </summary> public int EndLine { get; set; } /// <summary> /// Gets or sets the matched content from the file. /// </summary> public string Content { get; set; } = string.Empty; /// <summary> /// Gets or sets the semantic similarity score of the result (higher is better). /// </summary> public float Score { get; set; } /// <summary> /// Gets or sets the parent scope (e.g., namespace, class, or method) containing this result. /// </summary> public string ParentScope { get; set; } = string.Empty; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/willibrandon/NetContextServer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server