Skip to content

Commit 0bf3517

Browse files
committed
fix: changed shimmy to use file not ipc
1 parent a7a6f35 commit 0bf3517

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ ENV FUNCTION_COMMAND="python"
3232
ENV FUNCTION_ARGS="-m,evaluation_function.main"
3333

3434
# The transport to use for the RPC server
35-
ENV FUNCTION_RPC_TRANSPORT="ipc"
35+
ENV FUNCTION_RPC_TRANSPORT="file"
3636

3737
ENV LOG_LEVEL="debug"

evaluation_function/evaluation.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ def evaluation_function(
3838
to output the evaluation response.
3939
"""
4040

41-
4241
if not isinstance(answer, str):
4342
return Result(
4443
is_correct=False,

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ lf_toolkit = { git = "https://github.com/lambda-feedback/toolkit-python.git", br
1717
"ipc",
1818
] }
1919
requests = "^2.32.5"
20+
fastapi = "^0.115.0"
21+
uvicorn = {extras = ["standard"], version = "^0.32.0"}
2022

2123
[tool.poetry.group.dev.dependencies]
2224
pytest = "^8.2.2"

0 commit comments

Comments
 (0)