Skip to content
Snippets Groups Projects
Commit 6b650b12 authored by Vits's avatar Vits
Browse files

Merge branch 'main' into tolga/function-schemas

parents 5a64c953 b17ea3dc
Branches
Tags
No related merge requests found
Showing
with 82 additions and 19 deletions
name: Release Docs
on:
push:
branches:
- main
jobs:
build-docs:
permissions:
contents: read
id-token: write
name: Build Docs
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.11"
env:
POETRY_VERSION: "1.8.3"
steps:
- uses: actions/checkout@v4
- name: Cache Poetry
uses: actions/cache@v2
with:
path: ~/.poetry
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-
- name: Install poetry
run: |
pipx install poetry==$POETRY_VERSION
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: poetry
- name: Install dependencies
run: |
poetry install --all-extras
- name: Build docs
run: |
poetry run sphinx-build -M html docs/source docs/build
- name: Authenticate to Google Cloud
id: auth
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.GOOGLE_CREDENTIALS }}
- name: Upload Docs
run: |
gcloud storage rsync docs/build/html gs://docs-bucket-production/semantic-router --recursive --delete-unmatched-destination-objects
# - name: Upload Docs
# id: upload-directory
# uses: google-github-actions/upload-cloud-storage@v2
# with:
# path: docs/build/html
# destination: docs-bucket-production/semantic-router
# parent: false
\ No newline at end of file
...@@ -44,7 +44,7 @@ jobs: ...@@ -44,7 +44,7 @@ jobs:
pip install nltk pip install nltk
- name: Download nltk data - name: Download nltk data
run: | run: |
python -m nltk.downloader punkt stopwords wordnet python -m nltk.downloader punkt stopwords wordnet punkt_tab
- name: Pytest All - name: Pytest All
env: env:
PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }} PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }}
......
semantic\_router.encoders.AutoEncoder semantic\_router.encoders.AutoEncoder
===================================== =====================================
.. currentmodule:: semantic_router.encoders .. currentmodule:: semantic_router.encoders
......
semantic\_router.encoders.base.BaseEncoder semantic\_router.encoders.base.BaseEncoder
========================================== ==========================================
.. currentmodule:: semantic_router.encoders.base .. currentmodule:: semantic_router.encoders.base
......
semantic\_router.encoders.bedrock.BedrockEncoder semantic\_router.encoders.bedrock.BedrockEncoder
================================================ ================================================
.. currentmodule:: semantic_router.encoders.bedrock .. currentmodule:: semantic_router.encoders.bedrock
......
semantic\_router.encoders.bm25.BM25Encoder semantic\_router.encoders.bm25.BM25Encoder
========================================== ==========================================
.. currentmodule:: semantic_router.encoders.bm25 .. currentmodule:: semantic_router.encoders.bm25
......
semantic\_router.encoders.clip.CLIPEncoder semantic\_router.encoders.clip.CLIPEncoder
========================================== ==========================================
.. currentmodule:: semantic_router.encoders.clip .. currentmodule:: semantic_router.encoders.clip
......
semantic\_router.encoders.cohere.CohereEncoder semantic\_router.encoders.cohere.CohereEncoder
============================================== ==============================================
.. currentmodule:: semantic_router.encoders.cohere .. currentmodule:: semantic_router.encoders.cohere
......
semantic\_router.encoders.fastembed.FastEmbedEncoder semantic\_router.encoders.fastembed.FastEmbedEncoder
==================================================== ====================================================
.. currentmodule:: semantic_router.encoders.fastembed .. currentmodule:: semantic_router.encoders.fastembed
......
semantic\_router.encoders.google.GoogleEncoder semantic\_router.encoders.google.GoogleEncoder
============================================== ==============================================
.. currentmodule:: semantic_router.encoders.google .. currentmodule:: semantic_router.encoders.google
......
semantic\_router.encoders.huggingface.HFEndpointEncoder semantic\_router.encoders.huggingface.HFEndpointEncoder
======================================================= =======================================================
.. currentmodule:: semantic_router.encoders.huggingface .. currentmodule:: semantic_router.encoders.huggingface
......
semantic\_router.encoders.huggingface.HuggingFaceEncoder semantic\_router.encoders.huggingface.HuggingFaceEncoder
======================================================== ========================================================
.. currentmodule:: semantic_router.encoders.huggingface .. currentmodule:: semantic_router.encoders.huggingface
......
semantic\_router.encoders.mistral.MistralEncoder semantic\_router.encoders.mistral.MistralEncoder
================================================ ================================================
.. currentmodule:: semantic_router.encoders.mistral .. currentmodule:: semantic_router.encoders.mistral
......
semantic\_router.encoders.openai.OpenAIEncoder semantic\_router.encoders.openai.OpenAIEncoder
============================================== ==============================================
.. currentmodule:: semantic_router.encoders.openai .. currentmodule:: semantic_router.encoders.openai
...@@ -45,6 +45,7 @@ semantic\_router.encoders.openai.OpenAIEncoder ...@@ -45,6 +45,7 @@ semantic\_router.encoders.openai.OpenAIEncoder
~OpenAIEncoder.dimensions ~OpenAIEncoder.dimensions
~OpenAIEncoder.token_limit ~OpenAIEncoder.token_limit
~OpenAIEncoder.type ~OpenAIEncoder.type
~OpenAIEncoder.max_retries
~OpenAIEncoder.name ~OpenAIEncoder.name
~OpenAIEncoder.score_threshold ~OpenAIEncoder.score_threshold
semantic\_router.encoders.tfidf.TfidfEncoder semantic\_router.encoders.tfidf.TfidfEncoder
============================================ ============================================
.. currentmodule:: semantic_router.encoders.tfidf .. currentmodule:: semantic_router.encoders.tfidf
......
semantic\_router.encoders.vit.VitEncoder semantic\_router.encoders.vit.VitEncoder
======================================== ========================================
.. currentmodule:: semantic_router.encoders.vit .. currentmodule:: semantic_router.encoders.vit
......
semantic\_router.encoders.zure.AzureOpenAIEncoder semantic\_router.encoders.zure.AzureOpenAIEncoder
================================================= =================================================
.. currentmodule:: semantic_router.encoders.zure .. currentmodule:: semantic_router.encoders.zure
...@@ -49,6 +49,7 @@ semantic\_router.encoders.zure.AzureOpenAIEncoder ...@@ -49,6 +49,7 @@ semantic\_router.encoders.zure.AzureOpenAIEncoder
~AzureOpenAIEncoder.azure_endpoint ~AzureOpenAIEncoder.azure_endpoint
~AzureOpenAIEncoder.api_version ~AzureOpenAIEncoder.api_version
~AzureOpenAIEncoder.model ~AzureOpenAIEncoder.model
~AzureOpenAIEncoder.max_retries
~AzureOpenAIEncoder.name ~AzureOpenAIEncoder.name
~AzureOpenAIEncoder.score_threshold ~AzureOpenAIEncoder.score_threshold
semantic\_router.hybrid\_layer.HybridRouteLayer semantic\_router.hybrid\_layer.HybridRouteLayer
=============================================== ===============================================
.. currentmodule:: semantic_router.hybrid_layer .. currentmodule:: semantic_router.hybrid_layer
......
semantic\_router.index.base.BaseIndex semantic\_router.index.base.BaseIndex
===================================== =====================================
.. currentmodule:: semantic_router.index.base .. currentmodule:: semantic_router.index.base
...@@ -18,6 +18,7 @@ semantic\_router.index.base.BaseIndex ...@@ -18,6 +18,7 @@ semantic\_router.index.base.BaseIndex
~BaseIndex.__init__ ~BaseIndex.__init__
~BaseIndex.add ~BaseIndex.add
~BaseIndex.aget_routes
~BaseIndex.aquery ~BaseIndex.aquery
~BaseIndex.construct ~BaseIndex.construct
~BaseIndex.copy ~BaseIndex.copy
...@@ -26,6 +27,7 @@ semantic\_router.index.base.BaseIndex ...@@ -26,6 +27,7 @@ semantic\_router.index.base.BaseIndex
~BaseIndex.describe ~BaseIndex.describe
~BaseIndex.dict ~BaseIndex.dict
~BaseIndex.from_orm ~BaseIndex.from_orm
~BaseIndex.get_routes
~BaseIndex.json ~BaseIndex.json
~BaseIndex.parse_file ~BaseIndex.parse_file
~BaseIndex.parse_obj ~BaseIndex.parse_obj
......
semantic\_router.index.local.LocalIndex semantic\_router.index.local.LocalIndex
======================================= =======================================
.. currentmodule:: semantic_router.index.local .. currentmodule:: semantic_router.index.local
...@@ -18,6 +18,7 @@ semantic\_router.index.local.LocalIndex ...@@ -18,6 +18,7 @@ semantic\_router.index.local.LocalIndex
~LocalIndex.__init__ ~LocalIndex.__init__
~LocalIndex.add ~LocalIndex.add
~LocalIndex.aget_routes
~LocalIndex.aquery ~LocalIndex.aquery
~LocalIndex.construct ~LocalIndex.construct
~LocalIndex.copy ~LocalIndex.copy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment