eussam
12/29/2024, 11:16 AM.promptfoo folder is properly setup, and new evals are showing in promptfoo.db
it is also properly mounted to the container at /home/promptfoo/.promptfoo as per the documentation
Here is the docker-compose (I'm using a VSC dev container for my project):
services:
vetup-ai-devcontainer:
build:
context: .
dockerfile: Dockerfile
args:
PYTHON_VERSION: "3.10.13"
container_name: vetup-ai-devcontainer
volumes:
- ..:/workspaces/vetup-ai:cached
- eussam-aws-config-volume:/home/vscode/.aws
command: sleep infinity
promptfoo-server:
image: ghcr.io/promptfoo/promptfoo:latest
container_name: promptfoo-server
volumes:
- ../apps/rag-youtube-qa-api/eval/.promptfoo:/home/promptfoo/.promptfoo
ports:
- "3000:3000"
volumes:
eussam-aws-config-volume:
name: eussam-aws-config-volume
Can you tell me what I'm missing ?
Thank you in advance.
https://cdn.discordapp.com/attachments/1322886067069915208/1322886067505991770/image.png?ex=67728128&is=67712fa8&hm=27c29003d82daece4855326313a1dfc76b16a8529a7a280eb65f4a7a6a5ea4cc&
https://cdn.discordapp.com/attachments/1322886067069915208/1322886067761709137/image.png?ex=67728128&is=67712fa8&hm=b9662326c821373f0e742a8a289d6f957bde739f1e8b219866a1cab3803373b4&ian
01/01/2025, 11:20 PMeussam
01/02/2025, 2:54 PM--share option of promptfoo eval when using the docker server, now everything is ok.
my initial goal was to persist my evals and version them along with my project.
So in the end I used a custom path in my repo for the rep .promptfoo (export PROMPTFOO_CONFIG_DIR=./eval/.promptfoo), and commit promptfoo.db and use promptfoo view for visualisation and comparison.
For now it seems to fulfil my needs
Thank you