repo stringlengths 5 53 | pr_number int32 1 321k | task_type stringclasses 2
values | issue_text stringlengths 0 81.2k | pr_title stringlengths 1 319 | pr_body stringlengths 0 105k | base_sha stringlengths 40 40 | head_sha stringlengths 40 40 | gold_diff stringlengths 0 202M | changed_files listlengths 0 100 | review_threads listlengths 0 100 | test_patch stringlengths 0 23.4M | merged bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
zylon-ai/private-gpt | 2,065 | issue_to_patch | Adding MistralAI mode | # Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
I added a Mistral mode where users can interact with Mistral's API for chat completion and generating embeddings. This mode r... | 77461b96cf2e18b88b592fff441206a49826db97 | 4b74aa47665538048d0ead361713e69452b55734 | diff --git a/poetry.lock b/poetry.lock
index 8310e1ec1f..25e0bbda1e 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -2238,6 +2238,17 @@ files = [
{file = "joblib-1.4.2.tar.gz", hash = "sha256:2382c5816b2636fbd20a09e0f4e9dad4736765fdfb7dca582943b9c1366b3f0e"},
]
+[[package]]
+name = "jsonpath-python"
+version = "1... | [
"poetry.lock",
"private_gpt/components/embedding/embedding_component.py",
"private_gpt/settings/settings.py",
"pyproject.toml"
] | [
{
"comment": "Please switch to `mistralai` or another literal. This may cause confusion",
"path": "private_gpt/components/embedding/embedding_component.py",
"hunk": "@@ -144,6 +144,23 @@ def __init__(self, settings: Settings) -> None:\n api_key=settings.gemini.api_key,\n ... | true | ||
zylon-ai/private-gpt | 2,065 | comment_to_fix | Adding MistralAI mode | Please switch to `mistralai` or another literal. This may cause confusion | 77461b96cf2e18b88b592fff441206a49826db97 | 4b74aa47665538048d0ead361713e69452b55734 | diff --git a/private_gpt/components/embedding/embedding_component.py b/private_gpt/components/embedding/embedding_component.py
index 5d3e997491..b55cef8738 100644
--- a/private_gpt/components/embedding/embedding_component.py
+++ b/private_gpt/components/embedding/embedding_component.py
@@ -144,6 +144,23 @@ def __init__... | [
"private_gpt/components/embedding/embedding_component.py"
] | [
{
"comment": "Please switch to `mistralai` or another literal. This may cause confusion",
"path": "private_gpt/components/embedding/embedding_component.py",
"hunk": "@@ -144,6 +144,23 @@ def __init__(self, settings: Settings) -> None:\n api_key=settings.gemini.api_key,\n ... | true | ||
zylon-ai/private-gpt | 2,065 | comment_to_fix | Adding MistralAI mode | also rename it | 77461b96cf2e18b88b592fff441206a49826db97 | 4b74aa47665538048d0ead361713e69452b55734 | diff --git a/private_gpt/settings/settings.py b/private_gpt/settings/settings.py
index 4cf192a3e0..9b4238dd55 100644
--- a/private_gpt/settings/settings.py
+++ b/private_gpt/settings/settings.py
@@ -197,7 +197,14 @@ class HuggingFaceSettings(BaseModel):
class EmbeddingSettings(BaseModel):
mode: Literal[
- ... | [
"private_gpt/settings/settings.py"
] | [
{
"comment": "also rename it",
"path": "private_gpt/settings/settings.py",
"hunk": "@@ -273,6 +273,15 @@ class GeminiSettings(BaseModel):\n )\n \n \n+class MistralSettings(BaseModel):\n+ api_key: str\n+ endpoint: str\n+ model: str",
"resolving_sha": "4b74aa47665538048d0ead361713e69452b5... | true | ||
zylon-ai/private-gpt | 2,059 | issue_to_patch | fix: docker permissions | 89477ea9d3a83181b0222b732a81c71db9edf142 | 6c018cf2669bb79358297e11acd10047a43cb4a2 | diff --git a/Dockerfile.llamacpp-cpu b/Dockerfile.llamacpp-cpu
index fce9915afc..feab1659bb 100644
--- a/Dockerfile.llamacpp-cpu
+++ b/Dockerfile.llamacpp-cpu
@@ -1,6 +1,6 @@
### IMPORTANT, THIS IMAGE CAN ONLY BE RUN IN LINUX DOCKER
### You will run into a segfault in mac
-FROM python:3.11.6-slim-bookworm as base
+FR... | [
"Dockerfile.llamacpp-cpu",
"Dockerfile.ollama",
"docker-compose.yaml"
] | [] | true | |||
zylon-ai/private-gpt | 2,084 | issue_to_patch | feat: add retry connection to ollama | When Ollama is running in the docker-compose, traefik is not ready sometimes to route the request, and it fails
[#2066](https://github.com/zylon-ai/private-gpt/issues/2066)
[#2071](https://github.com/zylon-ai/private-gpt/issues/2071) | 42628596b28efccaef9d1b39fa94e6d47ba397be | 61779135445d0690413ffca8232ad063a2d5b223 | diff --git a/poetry.lock b/poetry.lock
index df76533670..8310e1ec1f 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -1060,6 +1060,17 @@ files = [
marshmallow = ">=3.18.0,<4.0.0"
typing-inspect = ">=0.4.0,<1"
+[[package]]
+name = "decorator"
+version = "5.1.1"
+description = "Decorators for Humans"
+optional = false
+... | [
"poetry.lock",
"private_gpt/utils/ollama.py",
"private_gpt/utils/retry.py",
"pyproject.toml"
] | [] | true | ||
zylon-ai/private-gpt | 2,077 | issue_to_patch | ci: bump actions/checkout to v4 | # Description
Required for using Node.js 20.x in CI
* Changelog for actions/checkout@v4 https://github.com/actions/checkout/blob/main/CHANGELOG.md?rgh-link-date=2024-09-04T18%3A38%3A10Z#v400
* GitHub Blog post: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16... | 7603b3627d91aed1cce2e1ae407fec11ca1ad132 | f03bddf817f883e4248816ce3f32613f6c09eb22 | diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 6a450cbeda..ad8450de7c 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -14,7 +14,7 @@ jobs:
setup:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
... | [
".github/workflows/tests.yml"
] | [] | true | ||
zylon-ai/private-gpt | 2,062 | issue_to_patch | Fix: Rectify ffmpy poetry config; update version from 0.3.2 to 0.4.0 | # Description
The current `poetry install` is broken for first installers:

The reason:
- https://github.com/EuDs63/ffmpy is no longer the source repo of ffmpy (archived on 30 July 2024)
![Scree... | 89477ea9d3a83181b0222b732a81c71db9edf142 | 2eee2d28250f443df1aeb9c18200e4e5495471de | diff --git a/poetry.lock b/poetry.lock
index 2ff1186aec..df76533670 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -1248,18 +1248,14 @@ standard = ["fastapi", "uvicorn[standard] (>=0.15.0)"]
[[package]]
name = "ffmpy"
-version = "0.3.2"
-description = "A simple Python wrapper for ffmpeg"
+version = "0.4.0"
+descript... | [
"poetry.lock",
"pyproject.toml"
] | [] | true | ||
zylon-ai/private-gpt | 2,056 | issue_to_patch | fix: naming image and ollama-cpu | 22904ca8ad1b812f7e2e448432b3bca5941808ac | 5178255f1e0178b0f38958aa00d06655dcd959a4 | diff --git a/docker-compose.yaml b/docker-compose.yaml
index be0ee63f10..c2ef0f6d7d 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -7,7 +7,7 @@ services:
# Private-GPT service for the Ollama CPU and GPU modes
# This service builds from an external Dockerfile and runs the Ollama mode.
private-gpt... | [
"docker-compose.yaml"
] | [] | true | |||
zylon-ai/private-gpt | 2,049 | issue_to_patch | chore(main): release 0.6.2 | :robot: I have created a release *beep* *boop*
---
## [0.6.2](https://github.com/zylon-ai/private-gpt/compare/v0.6.1...v0.6.2) (2024-08-08)
### Bug Fixes
* add numpy issue to troubleshooting ([#2048](https://github.com/zylon-ai/private-gpt/issues/2048)) ([4ca6d0c](https://github.com/zylon-ai/private-gpt/commit/4ca... | 7fefe408b4267684c6e3c1a43c5dc2b73ec61fe4 | 9aa0b2182f06770220dfd4bf8644908ada7ddf36 | diff --git a/.github/release_please/.release-please-manifest.json b/.github/release_please/.release-please-manifest.json
index ac0317144e..e3778b2c1e 100644
--- a/.github/release_please/.release-please-manifest.json
+++ b/.github/release_please/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.6.1"
+ ".": "0... | [
".github/release_please/.release-please-manifest.json",
"CHANGELOG.md",
"docker-compose.yaml",
"pyproject.toml",
"version.txt"
] | [] | true | ||
zylon-ai/private-gpt | 2,052 | issue_to_patch | fix: auto-update version | ## No more manual bump version!
This PR takes care of automatic version upgrades using release-please version.
1. To do that, I need to update release-please version from v3 to v4.
2. This will update:
- `version.txt` as before
- `CHANGELOG.md` as before
- `pyproject.toml`
- `docker-compose.y... | b1acf9dc2cbca2047cd0087f13254ff5cda6e570 | ca4d5c99c9fc9c5abbe07e47159193d4763ac729 | diff --git a/.github/release_please/.release-please-config.json b/.github/release_please/.release-please-config.json
new file mode 100644
index 0000000000..97f3170092
--- /dev/null
+++ b/.github/release_please/.release-please-config.json
@@ -0,0 +1,19 @@
+{
+ "$schema": "https://raw.githubusercontent.com/googleapis/... | [
".github/release_please/.release-please-config.json",
".github/release_please/.release-please-manifest.json",
".github/workflows/release-please.yml",
"docker-compose.yaml"
] | [] | true | ||
zylon-ai/private-gpt | 2,043 | issue_to_patch | fix: publish image name | ca2b8da69cd71c1654d2b219a1c4c4e01d1886ad | d932f10943e64767d72b569fa3e36aa73ed88c56 | diff --git a/.github/workflows/generate-release.yml b/.github/workflows/generate-release.yml
index 82d08d0b4e..36a95add51 100644
--- a/.github/workflows/generate-release.yml
+++ b/.github/workflows/generate-release.yml
@@ -7,7 +7,7 @@ on:
env:
REGISTRY: docker.io
- IMAGE_NAME: ${{ github.repository }}
+ IMAGE_N... | [
".github/workflows/generate-release.yml"
] | [] | true | |||
zylon-ai/private-gpt | 2,048 | issue_to_patch | docs: add numpy issue to troubleshooting | Add https://github.com/zylon-ai/private-gpt/issues/1979#issuecomment-2183000116 to official documentation | b16abbefe49527ac038d235659854b98345d5387 | 83427431f7fc5cfad504881674022641aef73bf7 | diff --git a/fern/docs/pages/installation/installation.mdx b/fern/docs/pages/installation/installation.mdx
index f7457b34b5..e7f80c87de 100644
--- a/fern/docs/pages/installation/installation.mdx
+++ b/fern/docs/pages/installation/installation.mdx
@@ -307,11 +307,12 @@ If you have all required dependencies properly conf... | [
"fern/docs/pages/installation/installation.mdx",
"fern/docs/pages/installation/troubleshooting.mdx"
] | [] | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.