Skip to content

Commit

Permalink
:question_mark: dunno why this wants to be commited
Browse files Browse the repository at this point in the history
  • Loading branch information
redadmiral committed Dec 30, 2023
1 parent b531c63 commit d38db67
Show file tree
Hide file tree
Showing 18 changed files with 3 additions and 4 deletions.
Empty file modified .github/workflows/documentation.yml
100644 → 100755
Empty file.
Empty file modified .readthedocs.yaml
100644 → 100755
Empty file.
Empty file modified LICENSE
100644 → 100755
Empty file.
Empty file modified README.md
100644 → 100755
Empty file.
Binary file removed dist/brdata-rag-tools-0.0.1.tar.gz
Binary file not shown.
Binary file removed dist/brdata_rag_tools-0.0.1-py3-none-any.whl
Binary file not shown.
Empty file modified docs/Makefile
100644 → 100755
Empty file.
Empty file modified docs/make.bat
100644 → 100755
Empty file.
Empty file modified docs/requirements.txt
100644 → 100755
Empty file.
Empty file modified docs/source/conf.py
100644 → 100755
Empty file.
Empty file modified docs/source/index.rst
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions pyproject.toml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ build-backend = "setuptools.build_meta"

[project]
name = "brdata-rag-tools"
version = "0.0.3"
version = "0.0.5"
authors = [
{ name = "Marco Lehner", email = "[email protected]" },
]

description = "Improve development of retrieval augmented generation (RAG) applications at the BR AI + Automation Lab."
readme = "README.md"
requires-python = ">=3.9"
Expand Down Expand Up @@ -80,7 +81,6 @@ dependencies = [
"sphinxcontrib-qthelp==1.0.6",
"sphinxcontrib-serializinghtml==1.1.9",
"SQLAlchemy==2.0.23",
"sqlite-vss==0.1.2",
"tiktoken==0.5.2",
"tomli==2.0.1",
"tqdm==4.66.1",
Expand Down
Empty file modified src/__init__.py
100644 → 100755
Empty file.
Empty file modified src/brdata_rag_tools/__init__.py
100644 → 100755
Empty file.
Empty file modified src/brdata_rag_tools/datastructures.py
100644 → 100755
Empty file.
3 changes: 1 addition & 2 deletions src/brdata_rag_tools/main.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from models import LLM

if __name__ == "__main__":

# load model
language_model = LLM(model_name=LLMName.GPT35TURBO)
embed_type = EmbeddingType.SENTENCE_TRANSFORMERS
Expand Down Expand Up @@ -43,7 +42,7 @@ class Podcast(EmbeddingTable):
database.write_rows([podcast1, podcast2, podcast3], create_embeddings = True)

# create the prompt and template
user_prompt = "Gib mir spannende Podcasts zum Thema Musik."
user_prompt = "Welche spannenden Podcasts zum Thema Musik kannst du mir empfehlen?"

prompt_template = ("Du bist der Podcast-Experte des Bayerischen Rundfunks. "
"Eine Userin stellt dir folgende Frage:\n"
Expand Down
Empty file modified src/brdata_rag_tools/models.py
100644 → 100755
Empty file.
Empty file modified test/test_databases.py
100644 → 100755
Empty file.

0 comments on commit d38db67

Please sign in to comment.