provider/

directory
v0.31.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2026 License: MIT

README

provider

Backends that memos talks to on behalf of an instance, each configured by an instance setting and reached through an interface so the implementation can be swapped.

Package Backend
ai/ speech-to-text and audio-capable LLM providers (OpenAI, Gemini)
idp/ identity providers for SSO (OAuth2)
storage/ attachment object storage (local disk, S3)

Layering: provider may import proto/gen and internal. It must not import store, core, or server; store resolves the configured provider and hands it to callers.

Directories

Path Synopsis
ai
audio
Package audio provides audio container/codec helpers for AI providers.
Package audio provides audio container/codec helpers for AI providers.
audiollm
Package audiollm defines the multimodal-audio capability for AI providers.
Package audiollm defines the multimodal-audio capability for AI providers.
audiollm/gemini
Package gemini implements audiollm.Model against the Gemini generateContent endpoint.
Package gemini implements audiollm.Model against the Gemini generateContent endpoint.
stt
Package stt defines the speech-to-text capability for AI providers.
Package stt defines the speech-to-text capability for AI providers.
stt/openai
Package openai implements stt.Transcriber against the OpenAI /audio/transcriptions endpoint (and any compatible third-party endpoint such as Groq Whisper, faster-whisper self-hosted, or Azure Whisper).
Package openai implements stt.Transcriber against the OpenAI /audio/transcriptions endpoint (and any compatible third-party endpoint such as Groq Whisper, faster-whisper self-hosted, or Azure Whisper).
idp
oauth2
Package oauth2 implements the OAuth2 identity provider integration.
Package oauth2 implements the OAuth2 identity provider integration.
s3

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL