From 895f470a22ee85a0bac0d2ceee48a31dd610fcc4 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Thu, 30 May 2024 23:00:30 -0700 Subject: [PATCH] chore: frontmatters --- examples/haystack_pipeline.py | 10 ++++++++++ examples/langfuse_filter_pipeline.py | 10 ++++++++++ examples/litellm_manifold_pipeline.py | 9 +++++++++ examples/litellm_subprocess_manifold_pipeline.py | 10 ++++++++++ examples/llama_cpp_pipeline.py | 10 ++++++++++ examples/llamaindex_ollama_github_pipeline.py | 10 ++++++++++ examples/llamaindex_ollama_pipeline.py | 10 ++++++++++ examples/llamaindex_pipeline.py | 10 ++++++++++ 8 files changed, 79 insertions(+) diff --git a/examples/haystack_pipeline.py b/examples/haystack_pipeline.py index 72d1976..41eb305 100644 --- a/examples/haystack_pipeline.py +++ b/examples/haystack_pipeline.py @@ -1,3 +1,13 @@ +""" +title: Haystack Pipeline +author: open-webui +date: 2024-05-30 +version: 1.0 +license: MIT +description: A pipeline for retrieving relevant information from a knowledge base using the Haystack library. +requirements: haystack-ai, datasets>=2.6.1, sentence-transformers>=2.2.0 +""" + from typing import List, Union, Generator, Iterator from schemas import OpenAIChatMessage import os diff --git a/examples/langfuse_filter_pipeline.py b/examples/langfuse_filter_pipeline.py index 5205b13..e97af8a 100644 --- a/examples/langfuse_filter_pipeline.py +++ b/examples/langfuse_filter_pipeline.py @@ -1,3 +1,13 @@ +""" +title: Langfuse Filter Pipeline +author: open-webui +date: 2024-05-30 +version: 1.0 +license: MIT +description: A filter pipeline that uses Langfuse. +requirements: langfuse +""" + from typing import List, Optional from schemas import OpenAIChatMessage import os diff --git a/examples/litellm_manifold_pipeline.py b/examples/litellm_manifold_pipeline.py index e43f647..a739730 100644 --- a/examples/litellm_manifold_pipeline.py +++ b/examples/litellm_manifold_pipeline.py @@ -1,3 +1,12 @@ +""" +title: LiteLLM Manifold Pipeline +author: open-webui +date: 2024-05-30 +version: 1.0 +license: MIT +description: A manifold pipeline that uses LiteLLM. +""" + from typing import List, Union, Generator, Iterator from schemas import OpenAIChatMessage from pydantic import BaseModel diff --git a/examples/litellm_subprocess_manifold_pipeline.py b/examples/litellm_subprocess_manifold_pipeline.py index 62e69b7..e10ee87 100644 --- a/examples/litellm_subprocess_manifold_pipeline.py +++ b/examples/litellm_subprocess_manifold_pipeline.py @@ -1,3 +1,13 @@ +""" +title: LiteLLM Subprocess Manifold Pipeline +author: open-webui +date: 2024-05-30 +version: 1.0 +license: MIT +description: A manifold pipeline that uses LiteLLM as a subprocess. +requirements: yaml, litellm[proxy] +""" + from typing import List, Union, Generator, Iterator from schemas import OpenAIChatMessage from pydantic import BaseModel diff --git a/examples/llama_cpp_pipeline.py b/examples/llama_cpp_pipeline.py index 410ab2a..acd3593 100644 --- a/examples/llama_cpp_pipeline.py +++ b/examples/llama_cpp_pipeline.py @@ -1,3 +1,13 @@ +""" +title: Llama C++ Pipeline +author: open-webui +date: 2024-05-30 +version: 1.0 +license: MIT +description: A pipeline for generating responses using the Llama C++ library. +requirements: llama-cpp-python +""" + from typing import List, Union, Generator, Iterator from schemas import OpenAIChatMessage diff --git a/examples/llamaindex_ollama_github_pipeline.py b/examples/llamaindex_ollama_github_pipeline.py index 8dd02ca..41e4af8 100644 --- a/examples/llamaindex_ollama_github_pipeline.py +++ b/examples/llamaindex_ollama_github_pipeline.py @@ -1,3 +1,13 @@ +""" +title: Llama Index Ollama Github Pipeline +author: open-webui +date: 2024-05-30 +version: 1.0 +license: MIT +description: A pipeline for retrieving relevant information from a knowledge base using the Llama Index library with Ollama embeddings from a GitHub repository. +requirements: llama-index, llama-index-llms-ollama, llama-index-embeddings-ollama, llama-index-readers-github +""" + from typing import List, Union, Generator, Iterator from schemas import OpenAIChatMessage import os diff --git a/examples/llamaindex_ollama_pipeline.py b/examples/llamaindex_ollama_pipeline.py index c6e12c1..efafe67 100644 --- a/examples/llamaindex_ollama_pipeline.py +++ b/examples/llamaindex_ollama_pipeline.py @@ -1,3 +1,13 @@ +""" +title: Llama Index Ollama Pipeline +author: open-webui +date: 2024-05-30 +version: 1.0 +license: MIT +description: A pipeline for retrieving relevant information from a knowledge base using the Llama Index library with Ollama embeddings. +requirements: llama-index, llama-index-llms-ollama, llama-index-embeddings-ollama +""" + from typing import List, Union, Generator, Iterator from schemas import OpenAIChatMessage diff --git a/examples/llamaindex_pipeline.py b/examples/llamaindex_pipeline.py index 4cb6be3..2606361 100644 --- a/examples/llamaindex_pipeline.py +++ b/examples/llamaindex_pipeline.py @@ -1,3 +1,13 @@ +""" +title: Llama Index Pipeline +author: open-webui +date: 2024-05-30 +version: 1.0 +license: MIT +description: A pipeline for retrieving relevant information from a knowledge base using the Llama Index library. +requirements: llama-index +""" + from typing import List, Union, Generator, Iterator from schemas import OpenAIChatMessage