From 962faf6c97b36c8c3345aa2172c2ed477c84c741 Mon Sep 17 00:00:00 2001 From: Jonathan Yong Date: Fri, 22 Mar 2024 14:48:49 +0000 Subject: [PATCH] Add setup instructions --- .gitignore | 2 ++ llm_server/README.md | 6 ++++++ llm_server/pyproject.toml | 1 + 3 files changed, 9 insertions(+) create mode 100644 llm_server/README.md diff --git a/.gitignore b/.gitignore index a46e46b..f5f912f 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,5 @@ dist-ssr *.njsproj *.sln *.sw? + +**/__pycache__ diff --git a/llm_server/README.md b/llm_server/README.md new file mode 100644 index 0000000..6d68a50 --- /dev/null +++ b/llm_server/README.md @@ -0,0 +1,6 @@ +# DemoLand LLM + +To set up, first install `poetry`, then: + +- `poetry install` to install the dependencies +- `poetry run uvicorn main:app` from this directory to run the LLM agent diff --git a/llm_server/pyproject.toml b/llm_server/pyproject.toml index fea8489..489372b 100644 --- a/llm_server/pyproject.toml +++ b/llm_server/pyproject.toml @@ -4,6 +4,7 @@ version = "0.1.0" description = "" authors = ["Stuart Lynn "] readme = "README.md" +package-mode = false [tool.poetry.dependencies] python = "^3.11"