Skip to content

Commit

Permalink
Bumped dspy version
Browse files Browse the repository at this point in the history
  • Loading branch information
seanchatmangpt committed Apr 14, 2024
1 parent ec10e53 commit 84ea128
Show file tree
Hide file tree
Showing 42 changed files with 1,079 additions and 3,830 deletions.
63 changes: 38 additions & 25 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,44 @@
version: "3.9"

services:

devcontainer:
build:
context: .
target: dev
args:
PYTHON_VERSION: ${PYTHON_VERSION:-3.10}
UID: ${UID:-1000}
GID: ${GID:-1000}
environment:
- POETRY_PYPI_TOKEN_PYPI
volumes:
- ..:/workspaces
- command-history-volume:/home/user/.history/

dev:
extends: devcontainer
stdin_open: true
tty: true
entrypoint: []
command:
[
"sh",
"-c",
"sudo chown user $$SSH_AUTH_SOCK && cp --update /opt/build/poetry/poetry.lock /workspaces/dspygen/ && mkdir -p /workspaces/dspygen/.git/hooks/ && cp --update /opt/build/git/* /workspaces/dspygen/.git/hooks/ && zsh"
]
environment:
- POETRY_PYPI_TOKEN_PYPI
- SSH_AUTH_SOCK=/run/host-services/ssh-auth.sock
ports:
- "8000"
volumes:
- ~/.gitconfig:/etc/gitconfig
- ~/.ssh/known_hosts:/home/user/.ssh/known_hosts
- ${SSH_AGENT_AUTH_SOCK:-/run/host-services/ssh-auth.sock}:/run/host-services/ssh-auth.sock
profiles:
- dev

app:
build:
context: .
Expand All @@ -11,30 +49,5 @@ services:
profiles:
- app

mqtt-broker:
image: eclipse-mosquitto:latest
ports:
- "1883:1883"
- "9001:9001"
volumes:
- ./mosquitto/config:/mosquitto/config
- ./mosquitto/data:/mosquitto/data
- ./mosquitto/log:/mosquitto/log
environment:
- TZ=America/Los_Angeles

ngrok:
image: ngrok/ngrok:latest
restart: unless-stopped
command:
- "start"
- "--all"
- "--config"
- "/etc/ngrok.yml"
volumes:
- ./ngrok.yml:/etc/ngrok.yml
ports:
- 4040:4040

volumes:
command-history-volume:
1,969 changes: 1,031 additions & 938 deletions poetry.lock

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry] # https://python-poetry.org/docs/pyproject/
name = "dspygen"
version = "2024.4.11"
version = "2024.4.13"
description = "A Ruby on Rails style framework for the DSPy (Demonstrate, Search, Predict) project for Language Models like GPT, BERT, and LLama."
authors = ["Sean Chatman <[email protected]>"]
readme = "README.md"
Expand All @@ -28,7 +28,7 @@ jinja2 = "^3.1.3"
inflection = "^0.5.1"
jinja2-time = "^0.2.0"
jinja2-ext = "^0.1"
dspy-ai = "2.3.1"
dspy-ai = "^2.4.5"
openai = "^1.12.0"
pyperclip = "^1.8.2"
asyncer = "^0.0.5"
Expand Down Expand Up @@ -123,6 +123,9 @@ ban-relative-imports = "all"
convention = "google"

[tool.poe.tasks] # https://github.com/nat-n/poethepoet
lock = "poetry lock"
inst = "poetry install"
pub = "poetry publish --build"

[tool.poe.tasks.api]
help = "Serve a REST API"
Expand Down
21 changes: 0 additions & 21 deletions src/dspygen/experiments/bkgn/1712791520.251564.py

This file was deleted.

14 changes: 0 additions & 14 deletions src/dspygen/experiments/bkgn/1712791662.6566012.py

This file was deleted.

131 changes: 0 additions & 131 deletions src/dspygen/experiments/bkgn/1712791810.41677.py

This file was deleted.

102 changes: 0 additions & 102 deletions src/dspygen/experiments/bkgn/1712791891.925647.py

This file was deleted.

Loading

0 comments on commit 84ea128

Please sign in to comment.