Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 13 additions & 14 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PR Merge Check - Javelin Python
name: PR Merge Check - Highflame Python

on:
pull_request:
Expand Down Expand Up @@ -26,7 +26,7 @@ env:
TRIVY_REPORT_FILE: "trivy-scan-result"

jobs:
javelin-commit-check:
highflame-commit-check:
permissions:
contents: 'read'
runs-on: ubuntu-24.04
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
exit 1
fi

javelin-lint-check:
highflame-lint-check:
permissions:
contents: 'read'
runs-on: ubuntu-24.04
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
path: ${{ env.LINT_REPORT_FILE }}.json
retention-days: 1

javelin-trivy-scan:
highflame-trivy-scan:
permissions:
contents: 'read'
runs-on: ubuntu-24.04
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
echo "Vulnerabilities Found.....!"
exit 1

javelin-build-check:
highflame-build-check:
permissions:
contents: 'read'
id-token: 'write'
Expand All @@ -167,16 +167,15 @@ jobs:
PY_VER_FILE: "pyproject.toml"
shell: bash
run: |-
if ! grep -q '^version = ' ${{ env.PY_VER_FILE }} ; then
echo "Version entry not found in the ${{ env.PY_VER_FILE }} file...!"
exit 1
fi
VERSION=$(grep '^version = ' ${{ env.PY_VER_FILE }} | sed 's/.*version = "\(.*\)".*/\1/')
if [ -z "$VERSION" ]; then
echo "Version entry format is wrong in the ${{ env.PY_VER_FILE }} file...!"
export RELEASE_VERSION="1.1.1"
if [[ -f ${{ env.PY_VER_FILE }} ]] ; then
sed -i "s|^version = \".*\"|version = \"${RELEASE_VERSION}\"|g" ${{ env.PY_VER_FILE }}
cat ${{ env.PY_VER_FILE }}
echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ${{ env.PY_VER_FILE }}"
else
echo "File not found ${{ env.PY_VER_FILE }}"
exit 1
fi
echo "Package version: $VERSION"

- name: Setup Python
uses: actions/setup-python@v5
Expand All @@ -192,4 +191,4 @@ jobs:
- name: Build Package
shell: bash
run: |-
python -m build
python -m build
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release Build - Javelin Python
name: Release Build - Highflame Python

on:
release:
Expand All @@ -12,7 +12,7 @@ env:
RELEASE_NAME: ${{ github.event.release.name }}

jobs:
javelin-validate:
highflame-validate:
permissions:
contents: 'read'
runs-on: ubuntu-24.04
Expand Down Expand Up @@ -52,9 +52,9 @@ jobs:
exit 1
fi

javelin-package:
highflame-package:
needs:
- javelin-validate
- highflame-validate
permissions:
contents: 'read'
id-token: 'write'
Expand All @@ -72,12 +72,12 @@ jobs:
shell: bash
run: |-
export RELEASE_VERSION=$(echo ${{ env.RELEASE_NAME }} | sed 's|^v||g')
if cat ${{ env.PY_VER_FILE }} | grep 'version = "RELEASE_VERSION"' ; then
sed -i "s|^version = \"RELEASE_VERSION\"|version = \"${RELEASE_VERSION}\"|g" ${{ env.PY_VER_FILE }}
cat ${file}
if [[ -f ${{ env.PY_VER_FILE }} ]] ; then
sed -i "s|^version = \".*\"|version = \"${RELEASE_VERSION}\"|g" ${{ env.PY_VER_FILE }}
cat ${{ env.PY_VER_FILE }}
echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ${{ env.PY_VER_FILE }}"
else
echo "Version entry format is wrong in the ${{ env.PY_VER_FILE }} file...!"
cat ${file}
echo "File not found ${{ env.PY_VER_FILE }}"
exit 1
fi

Expand Down
42 changes: 21 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[![Ask DeepWiki](https://deepwiki.com/badge.svg "DeepWiki Documentation")](https://deepwiki.com/getjavelin/javelin-python)

## Javelin: an Enterprise-Scale, Fast LLM Gateway/Edge
## Highflame: an Enterprise-Scale, Fast LLM Gateway/Edge

This is the Python client package for Javelin.
This is the Python client package for Highflame.

For more information about Javelin, see https://getjavelin.com
For more information about Highflame, see https://highflame.com

Javelin Documentation: https://docs.getjavelin.io
Highflame Documentation: https://docs.getjavelin.io

### Development

Expand Down Expand Up @@ -69,35 +69,35 @@ pip install dist/javelin_sdk-<version>-py3-none-any.whl

## [Universal Endpoints](https://docs.getjavelin.io/docs/javelin-core/integration#unified-endpoints)

Javelin provides universal endpoints that allow you to use a consistent interface across different LLM providers. Here are the main patterns:
Highflame provides universal endpoints that allow you to use a consistent interface across different LLM providers. Here are the main patterns:

#### Azure OpenAI
- [Basic Azure OpenAI integration](https://github.com/highflame-ai/javelin-python/blob/main/examples/azure-openai/azure-universal.py)
- [Universal endpoint implementation](https://github.com/highflame-ai/javelin-python/blob/main/examples/azure-openai/javelin_azureopenai_univ_endpoint.py)
- [OpenAI-compatible interface](https://github.com/highflame-ai/javelin-python/blob/main/examples/azure-openai/openai_compatible_univ_azure.py)
- [Basic Azure OpenAI integration](https://github.com/highflame-ai/highflame-python/blob/main/examples/azure-openai/azure-universal.py)
- [Universal endpoint implementation](https://github.com/highflame-ai/highflame-python/blob/main/examples/azure-openai/javelin_azureopenai_univ_endpoint.py)
- [OpenAI-compatible interface](https://github.com/highflame-ai/highflame-python/blob/main/examples/azure-openai/openai_compatible_univ_azure.py)

#### Bedrock
- [Basic Bedrock integration](https://github.com/highflame-ai/javelin-python/blob/main/examples/bedrock/bedrock_client_universal.py)
- [Universal endpoint implementation](https://github.com/highflame-ai/javelin-python/blob/main/examples/bedrock/javelin_bedrock_univ_endpoint.py)
- [OpenAI-compatible interface](https://github.com/highflame-ai/javelin-python/blob/main/examples/bedrock/openai_compatible_univ_bedrock.py)
- [Basic Bedrock integration](https://github.com/highflame-ai/highflame-python/blob/main/examples/bedrock/bedrock_client_universal.py)
- [Universal endpoint implementation](https://github.com/highflame-ai/highflame-python/blob/main/examples/bedrock/javelin_bedrock_univ_endpoint.py)
- [OpenAI-compatible interface](https://github.com/highflame-ai/highflame-python/blob/main/examples/bedrock/openai_compatible_univ_bedrock.py)

#### Gemini
- [Basic Gemini integration](https://github.com/highflame-ai/javelin-python/blob/main/examples/gemini/gemini-universal.py)
- [Universal endpoint implementation](https://github.com/highflame-ai/javelin-python/blob/main/examples/gemini/javelin_gemini_univ_endpoint.py)
- [OpenAI-compatible interface](https://github.com/highflame-ai/javelin-python/blob/main/examples/gemini/openai_compatible_univ_gemini.py)
- [Basic Gemini integration](https://github.com/highflame-ai/highflame-python/blob/main/examples/gemini/gemini-universal.py)
- [Universal endpoint implementation](https://github.com/highflame-ai/highflame-python/blob/main/examples/gemini/javelin_gemini_univ_endpoint.py)
- [OpenAI-compatible interface](https://github.com/highflame-ai/highflame-python/blob/main/examples/gemini/openai_compatible_univ_gemini.py)

### Agent Examples
- [CrewAI integration](https://github.com/highflame-ai/javelin-python/blob/main/examples/agents/crewai_javelin.ipynb)
- [LangGraph integration](https://github.com/highflame-ai/javelin-python/blob/main/examples/agents/langgraph_javelin.ipynb)
- [CrewAI integration](https://github.com/highflame-ai/highflame-python/blob/main/examples/agents/crewai_javelin.ipynb)
- [LangGraph integration](https://github.com/highflame-ai/highflame-python/blob/main/examples/agents/langgraph_javelin.ipynb)

### Basic Examples
- [Asynchronous example](https://github.com/highflame-ai/javelin-python/blob/main/examples/route_examples/aexample.py)
- [Synchronous example](https://github.com/highflame-ai/javelin-python/blob/main/examples/route_examples/example.py)
- [Drop-in replacement example](https://github.com/highflame-ai/javelin-python/blob/main/examples/route_examples/drop_in_replacement.py)
- [Asynchronous example](https://github.com/highflame-ai/highflame-python/blob/main/examples/route_examples/aexample.py)
- [Synchronous example](https://github.com/highflame-ai/highflame-python/blob/main/examples/route_examples/example.py)
- [Drop-in replacement example](https://github.com/highflame-ai/highflame-python/blob/main/examples/route_examples/drop_in_replacement.py)

### Advanced Examples
- [Document processing](https://github.com/highflame-ai/javelin-python/blob/main/examples/gemini/document_processing.py)
- [RAG implementation](https://github.com/highflame-ai/javelin-python/blob/main/examples/rag/javelin_rag_embeddings_demo.ipynb)
- [Document processing](https://github.com/highflame-ai/highflame-python/blob/main/examples/gemini/document_processing.py)
- [RAG implementation](https://github.com/highflame-ai/highflame-python/blob/main/examples/rag/javelin_rag_embeddings_demo.ipynb)

## Additional Integration Patterns

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "javelin-sdk"
version = "0.2.7-dev"
description = "Python client for Javelin"
version = "RELEASE_VERSION"
description = "Python client for Highflame"
authors = ["Sharath Rajasekar <sharath@highflame.com>"]
readme = "README.md"
license = "Apache-2.0"
Expand Down
Loading