
Security News
Rust RFC Proposes a Security Tab on crates.io for RustSec Advisories
Rustâs crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.
@oramacloud/ai-sdk-provider
Advanced tools
A provider for Vercel's AI SDK that enables seamless integration with Orama's search and chat capabilities.
npm install @oramacloud/ai-sdk-provider
// Create an Orama provider instance
const provider = oramaProvider({
// Required configurations
endpoint: process.env.ORAMA_API_URL,
apiKey: process.env.ORAMA_API_KEY,
// Optional configurations
userContext?: string | Record<string, any>; // Context for QA sessions
inferenceType?: "documentation"; // Currently only supports "documentation"
searchMode?: "fulltext" | "vector" | "hybrid"; // Default: "fulltext"
searchOptions?: OramaSearchOptions; // Additional search parameters
})
interface OramaSearchOptions {
mode?: "fulltext" | "vector" | "hybrid";
where?: Record<string, any>;
sortBy?: Array<{ property: string; order?: "asc" | "desc" }>;
facets?: Record<string, any>;
limit?: number;
boost?: Record<string, number>;
order?: "asc" | "desc";
}
import { streamText } from 'ai';
const response = await streamText({
model: provider.ask(),
messages: [{
role: 'user',
content: 'What is vector search?'
}]
});
const response = await generateText({
model: provider.search(),
messages: [{
role: 'user',
content: 'vector search documentation'
}]
});
Contributions are welcome! Please feel free to submit a Pull Request.
Apache 2.0. Read the full license here
FAQs
Orama provider for Vercel AI SDK
We found that @oramacloud/ai-sdk-provider demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Rustâs crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.

Security News
/Research
Socket found a Rust typosquat (finch-rust) that loads sha-rust to steal credentials, using impersonation and an unpinned dependency to auto-deliver updates.

Research
/Security Fundamentals
A pair of typosquatted Go packages posing as Googleâs UUID library quietly turn helper functions into encrypted exfiltration channels to a paste site, putting developer and CI data at risk.