diff --git a/langalf/app.py b/langalf/app.py index de00953..9127949 100644 --- a/langalf/app.py +++ b/langalf/app.py @@ -41,7 +41,8 @@ app.add_middleware( @app.get("/") async def root(): - return FileResponse("langalf/static/index.html") + langalf_path = Path(__file__).parent + return FileResponse(f"{langalf_path}/static/index.html") class LLMInfo(BaseModel): diff --git a/pyproject.toml b/pyproject.toml index 6fbf118..64c2b3d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "langalf" -version = "0.0.1" +version = "0.0.2" description = "Agentic LLM vulnerability scanner" authors = ["Alexander Miasoiedov "] maintainers = ["Alexander Miasoiedov "] @@ -10,12 +10,13 @@ readme = "Readme.md" keywords = [ "LLM vulnerability scanner", "llm security", - "adversarial attacks", + "llm adversarial attacks", "prompt injection", "prompt leakage", "prompt injection attacks", "prompt leakage prevention", "llm vulnerabilities", + "owasp-llm-top-10", ] packages = [{ include = "langalf", from = "." }]