Skip to content

Complete Hybrid inference impl #8966

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/tall-zoos-stare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'firebase': minor
'@firebase/vertexai': minor
---

Add support for the Google AI API, enabling usage in a free tier, and add new `AI` API to accomodate new product naming.
42 changes: 18 additions & 24 deletions common/api-review/firestore.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,15 +375,14 @@ export interface LoadBundleTaskProgress {
export { LogLevel }

// @public
export interface MemoryCacheSettings {
export type MemoryCacheSettings = {
garbageCollector?: MemoryGarbageCollector;
}
};

// @public
export interface MemoryEagerGarbageCollector {
// (undocumented)
export type MemoryEagerGarbageCollector = {
kind: 'memoryEager';
}
};

// @public
export function memoryEagerGarbageCollector(): MemoryEagerGarbageCollector;
Expand All @@ -392,19 +391,17 @@ export function memoryEagerGarbageCollector(): MemoryEagerGarbageCollector;
export type MemoryGarbageCollector = MemoryEagerGarbageCollector | MemoryLruGarbageCollector;

// @public
export interface MemoryLocalCache {
// (undocumented)
export type MemoryLocalCache = {
kind: 'memory';
}
};

// @public
export function memoryLocalCache(settings?: MemoryCacheSettings): MemoryLocalCache;

// @public
export interface MemoryLruGarbageCollector {
// (undocumented)
export type MemoryLruGarbageCollector = {
kind: 'memoryLru';
}
};

// @public
export function memoryLruGarbageCollector(settings?: {
Expand Down Expand Up @@ -494,42 +491,39 @@ export class PersistentCacheIndexManager {
}

// @public
export interface PersistentCacheSettings {
export type PersistentCacheSettings = {
cacheSizeBytes?: number;
tabManager?: PersistentTabManager;
}
};

// @public
export interface PersistentLocalCache {
// (undocumented)
export type PersistentLocalCache = {
kind: 'persistent';
}
};

// @public
export function persistentLocalCache(settings?: PersistentCacheSettings): PersistentLocalCache;

// @public
export interface PersistentMultipleTabManager {
// (undocumented)
export type PersistentMultipleTabManager = {
kind: 'PersistentMultipleTab';
}
};

// @public
export function persistentMultipleTabManager(): PersistentMultipleTabManager;

// @public
export interface PersistentSingleTabManager {
// (undocumented)
export type PersistentSingleTabManager = {
kind: 'persistentSingleTab';
}
};

// @public
export function persistentSingleTabManager(settings: PersistentSingleTabManagerSettings | undefined): PersistentSingleTabManager;

// @public
export interface PersistentSingleTabManagerSettings {
export type PersistentSingleTabManagerSettings = {
forceOwnership?: boolean;
}
};

// @public
export type PersistentTabManager = PersistentSingleTabManager | PersistentMultipleTabManager;
Expand Down
Loading