Orca 推出 Discovery AI 自然语言安全查询
Orca Security 与 AWS 合作构建了 Discovery AI,把用户的自然语言问题转换为 Sonar 查询语句,用于检索其覆盖 900 多个云资源模型的云安全数据图。该系统在 Amazon Bedrock 上运行一条九阶段流水线,结合 RAG 与 schema 感知的查询构造:先用 Amazon Titan 嵌入召回 20 个已验证示例,再用 Cohere Rerank 3.5 重排取前 5,Anthropic Claude Haiku 4.5 负责模型选择与查询生成,Amazon Nova 2 Lite 负责护栏筛查与校验,生成结果还要经过静态校验与 Sonar API 验证并允许重试。Orca 表示,相比最初把 900 多个模型 schema 全部放进单个提示、每次约 200 万输入 token、端到端约 60 秒的基线,查询成本降低 90%、输入 token 减少 93%、延迟降低 75%,目前每天可处理数千次查询、响应时间约 15 秒。
该案例说明在生产环境中按阶段拆分任务、分配不同规模的模型并辅以检索与校验,比把超大 schema 塞进单次提示更可行,可供其他企业构建自然语言数据查询系统时参考。
Security analysts need fast answers about their cloud infrastructure without deep familiarity with domain-specific query languages. Orca Security’s tool covers over 900 cloud models (the resource types Sonar tracks, such as an Amazon Elastic Compute Cloud (Amazon EC2) instance or an Amazon Simple Storage Service (Amazon S3) bucket). Querying that data required precise model names, nested relationship navigation, and selection from 18 operators (comparison functions like equals or contains used to filter results).
To solve this, Orca Security partnered with AWS to build Discovery AI, a natural language query agent on Amazon Bedrock. Orca provides context-aware security for cloud, code, and AI, and Sonar is its domain-specific query system where users search, filter, and explore across the entire data graph.
In this post, we share the architecture and results of Discovery AI, which converts a natural language question into a Sonar query. As a result, Orca reduced query costs by 90 percent, input tokens by 93 percent, and latency by 75 percent compared to the initial baseline.
Bridging natural language and structured queries
Orca Security’s Sonar query system supports 900+ cloud infrastructure and application models with complex relationships between them. To query this data, users construct JSON objects that specify exact model names, select from 18 operators, and navigate parent-child hierarchies across cloud providers. Doing this well requires deep familiarity with the Sonar schema.
#Orca Security#Discovery AI#Sonar#Amazon Bedrock#Amazon Web Services#Anthropic Claude Haiku 4.5#Amazon Nova 2 Lite#Amazon Titan Text Embeddings#Cohere Rerank 3.5