Skip to content

Commit

Permalink
Merge branch 'main' into ollama-tool-calling
Browse files Browse the repository at this point in the history
  • Loading branch information
nirga authored Oct 2, 2024
2 parents 7c5598d + a30bb8c commit e9fbd63
Show file tree
Hide file tree
Showing 195 changed files with 37,175 additions and 6,035 deletions.
6 changes: 5 additions & 1 deletion .cz.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ tag_format = "v$version"
version_scheme = "pep440"
major_version_zero = true
update_changelog_on_bump = true
version = "0.26.5"
version = "0.31.4"
version_files = [
"packages/opentelemetry-instrumentation-groq/pyproject.toml:^version",
"packages/opentelemetry-instrumentation-groq/opentelemetry/instrumentation/groq/version.py",
"packages/opentelemetry-instrumentation-alephalpha/pyproject.toml:^version",
"packages/opentelemetry-instrumentation-alephalpha/opentelemetry/instrumentation/alephalpha/version.py",
"packages/opentelemetry-instrumentation-anthropic/pyproject.toml:^version",
Expand All @@ -22,6 +24,8 @@ version_files = [
"packages/opentelemetry-instrumentation-haystack/opentelemetry/instrumentation/haystack/version.py",
"packages/opentelemetry-instrumentation-langchain/pyproject.toml:^version",
"packages/opentelemetry-instrumentation-langchain/opentelemetry/instrumentation/langchain/version.py",
"packages/opentelemetry-instrumentation-lancedb/pyproject.toml:^version",
"packages/opentelemetry-instrumentation-lancedb/opentelemetry/instrumentation/lancedb/version.py",
"packages/opentelemetry-instrumentation-milvus/pyproject.toml:^version",
"packages/opentelemetry-instrumentation-milvus/opentelemetry/instrumentation/milvus/version.py",
"packages/opentelemetry-instrumentation-mistralai/pyproject.toml:^version",
Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@ on:
- "main"

jobs:
lint-pr:
name: Lint PR
runs-on: ubuntu-latest
if: github.event_name == 'pull_request_target' && contains('["opened", "edited", "synchronize"]', github.event.action)
permissions:
pull-requests: read
steps:
- name: Validate PR title
uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

lint:
name: Lint
runs-on: ubuntu-latest
Expand Down Expand Up @@ -106,4 +118,4 @@ jobs:
- name: Test
env:
HAYSTACK_TELEMETRY_ENABLED: False
run: npx nx affected -t test --exclude='sample-app' --exclude='opentelemetry-instrumentation-haystack' --parallel=3
run: npx nx affected -t test --exclude='sample-app' --exclude='opentelemetry-instrumentation-haystack' --parallel=3
108 changes: 108 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,111 @@
## v0.31.4 (2024-10-01)

### Fix

- **langchain**: serialize inputs and outputs with pydantic (#2065)
- **sdk**: custom image uploader (#2064)

## v0.31.3 (2024-09-28)

### Fix

- support async image upload flows (#2051)

## v0.31.2 (2024-09-27)

### Fix

- **anthropic**: add support for base64 images upload for anthropic (#2029)

## v0.31.1 (2024-09-26)

### Fix

- **anthropic**: token counting exception when prompt contains images (#2030)

## v0.31.0 (2024-09-25)

### Feat

- **sdk+openai**: support base64 images upload (#2000)

### Fix

- **sdk**: wrong package check for Vertex AI (#2015)

## v0.30.1 (2024-09-16)

### Fix

- **langchain**: support v0.3.0 (#1985)

## v0.30.0 (2024-09-04)

### Feat

- add groq instrumentation (#1928)

## v0.29.2 (2024-08-31)

### Fix

- **langchain**: allow external and langchain metadata (#1922)

## v0.29.1 (2024-08-29)

### Fix

- **bedrock**: llama3 completion wasnt logged (#1914)

## v0.29.0 (2024-08-29)

### Feat

- **instrumentation**: Import redis from OpenTelemetry, add redis sample rag application (#1837)

### Fix

- **langchain**: add missing kind property (#1901)

## v0.28.2 (2024-08-26)

### Fix

- **openai**: calculating streaming usage didnt work on azure models

## v0.28.1 (2024-08-24)

### Fix

- **langchain**: langgraph traces were broken (#1895)

## v0.28.0 (2024-08-24)

### Feat

- **llama-index**: callback improvements (#1859)

### Fix

- **openai**: re-enabled token count for azure instances (#1877)
- **openai**: not given values thrown errors (#1876)
- **sdk**: `aentity_class` was missing a positional argument (#1816)
- **sdk**: instrument threading for propagating otel context (#1868)
- **openai**: TypeError: '<' not supported between instances of 'NoneType' and 'int' in embeddings_wrappers.py (#1836)

## v0.27.0 (2024-08-15)

### Feat

- **llama-index**: Use callbacks (#1546)
- LanceDB Integration (#1749)
- **sdk**: chained entity path on nested tasks (#1782)

### Fix

- workflow_name and entity_path support for langchain + fix entity_name (#1844)
- **sdk**: disable traceloop sync by default (#1835)

## v0.26.5 (2024-08-06)

### Fix
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
<a href="https://github.com/traceloop/openllmetry/blob/main/CONTRIBUTING.md">
<img src="https://img.shields.io/badge/PRs-Welcome-brightgreen" alt="PRs welcome!" />
</a>
<a href="https://wiki.mutable.ai/traceloop/openllmetry">
<img src="https://img.shields.io/badge/Auto_Wiki-Mutable.ai-blue" />
</a>
<a href="https://traceloop.com/slack">
<img src="https://img.shields.io/badge/chat-on%20Slack-blueviolet" alt="Slack community channel" />
</a>
Expand Down Expand Up @@ -113,12 +116,14 @@ OpenLLMetry can instrument everything that [OpenTelemetry already instruments](h
- ✅ Mistral AI
- ✅ HuggingFace
- ✅ Bedrock (AWS)
- ✅ SageMaker (AWS)
- ✅ Replicate
- ✅ Vertex AI (GCP)
- ✅ Google Generative AI (Gemini)
- ✅ IBM Watsonx AI
- ✅ Together AI
- ✅ Aleph Alpha
- ✅ Groq

### Vector DBs

Expand All @@ -128,6 +133,7 @@ OpenLLMetry can instrument everything that [OpenTelemetry already instruments](h
- ✅ Weaviate
- ✅ Milvus
- ✅ Marqo
- ✅ LanceDB

### Frameworks

Expand Down
9 changes: 5 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.26.5"
__version__ = "0.31.4"
Loading

0 comments on commit e9fbd63

Please sign in to comment.