Skip to content

Releases: google-gemini/genai-processors

GenAI Processors 1.1.0

01 Aug 15:20
Compare
Choose a tag to compare
  • core.window.Window: apply a processor to a rolling window across the stream.
  • Models output dataclass Parts when constrained decoding is used. This greatly simplifies writing pipelines that extract data on intermediate steps. Now the whole response will be in a single Part and accessible as part.get_dataclass(MyData).
  • Added a text-based turn-by-turn chat example with multimodal support through downloading images or PDFs by their URLs.
  • Add GenAILangChainProcessor to contrib.

GenAI Processors 1.0.5

21 Jul 17:36
Compare
Choose a tag to compare
  • CachedPartProcessor - support caching for PartProcessors: if the same part is received again, result can be taken from the cache.
  • GlobProcessor - stream files from local filesystem in-to processors.
  • Contrib processors: OpenRouterModel - add compatibility with a variety of LLMs available through OpenRouter.
  • Numerous bugfixes.
  • Added links to processors from @mbeacom: mbeacom/genai-processors-pydantic and mbeacom/genai-processors-url-fetch

v1.0.3

09 Jul 12:54
Compare
Choose a tag to compare
  • Initial Ollama support. Now processors work with local Gemma models.
  • Cleaned up the codebase:
    • Added missing package dependencies dependencies
    • Reshuffled file structure for PYTHONPATH=. to work for local development.
    • Published unit tests.

GenAI Processors 1.0.2

27 Jun 14:59
Compare
Choose a tag to compare

Additions:

  • processor sources as an easy way to add data sources (microphones, camera) to a processor chain.
  • jinja template rendering of processor parts based on dataclasses.
  • extra documentation.

GenAI Processors 1.0.1

20 Jun 12:31
Compare
Choose a tag to compare

Adds the Switch operation for processors, similar to a std switch statement.

Core processors additions:

  • text_to_speech and speech_to_text processor using Google Cloud APIs
  • realtime processor to create a live aka realtime processor from a turn-based LLM (audio in/out only)
  • pdf processor to work with PDF files and extract tokens for LLMs
  • drive processor to get documents from Google Drive (sheets, slides and docs)
  • github processor to get code from github
  • jinja processor to create prompts from classes

Examples:

  • several CLIs to test processors from the CLI (including live and realtime processors)

GenAI Processors 1.0.0

22 May 17:02
Compare
Choose a tag to compare

Initial Release of the GenAI Processors library.