From 1102e967d56ff2beb5e0088419b8ac36af3cbb05 Mon Sep 17 00:00:00 2001 From: Ciprian Mandache Date: Fri, 14 Jun 2024 23:37:53 +0300 Subject: [PATCH] add dependabot config + start knowledge --- .github/dependabot.yml | 15 +++++++++++++++ pyproject.toml | 2 +- src/ezpyai/llm/knowledge.py | 1 + src/ezpyai/llm/prompt.py | 2 +- 4 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 .github/dependabot.yml create mode 100644 src/ezpyai/llm/knowledge.py diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..6e584b5 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,15 @@ +version: 2 +updates: + - package-ecosystem: "pip" + directory: "/" + schedule: + interval: "daily" + open-pull-requests-limit: 5 + commit-message: + prefix: "chore" + include: "scope" + assignees: + - "psyb0t" + labels: + - "dependencies" + - "automated pr" diff --git a/pyproject.toml b/pyproject.toml index 204de69..3f474b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling", "openai"] +requires = ["hatchling==1.24.2", "openai==1.34.0", "chromadb==0.5.0"] build-backend = "hatchling.build" [project] diff --git a/src/ezpyai/llm/knowledge.py b/src/ezpyai/llm/knowledge.py new file mode 100644 index 0000000..89f675f --- /dev/null +++ b/src/ezpyai/llm/knowledge.py @@ -0,0 +1 @@ +import chromadb diff --git a/src/ezpyai/llm/prompt.py b/src/ezpyai/llm/prompt.py index 2f35ece..c122a50 100644 --- a/src/ezpyai/llm/prompt.py +++ b/src/ezpyai/llm/prompt.py @@ -2,9 +2,9 @@ class Prompt: + _user_message: str = "" _system_message: str = "" _context: str = "" - _user_message: str = "" def __init__( self,