Skip to content

Instantly share code, notes, and snippets.

@S1M0N38
Last active September 29, 2024 14:37
Show Gist options
  • Select an option

  • Save S1M0N38/4e7a5f5e012700e5cc934fcae0f955ab to your computer and use it in GitHub Desktop.

Select an option

Save S1M0N38/4e7a5f5e012700e5cc934fcae0f955ab to your computer and use it in GitHub Desktop.
"""
title: Install Deps
author: S1M0N38
date: 2024-09-29
version: 1.0
license: MIT
description: A dummy pipeline just to install deps
requirements: llama-index
"""
class Pipeline:
def __init__(self): ...
async def on_startup(self): ...
async def on_shutdown(self): ...
def pipe(self, user_message, model_id, messages, body): ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment