cwinkler commited on
Commit
21402df
·
verified ·
1 Parent(s): 28db3d5

Upload 8 files

Browse files
app.py CHANGED
@@ -78,11 +78,11 @@ def search(query: str, k: int = TOPK_DEF):
78
  lines.append("\n> **Disclaimer:** Models can produce incorrect or misleading statements. Verify with sources.")
79
  return "\n\n".join(lines)
80
 
81
- with gr.Blocks(title="Semantische Suchmaschine für BGH Leitsätzen v0.1") as demo:
82
  gr.Markdown(
83
  """
84
  ## Semantische Suchmaschine für BGH Leitsätzen v0.1
85
- Datensatz: Leitsätze von 87 Entscheidungen des 2. BGH Senats
86
 
87
  **Wie es funktioniert:** Ermöglicht die semantische Suche im Datensatz und gibt die Entscheidungen geöordnet nach Ähnlichkeitswerten zurück.
88
 
@@ -93,7 +93,7 @@ with gr.Blocks(title="Semantische Suchmaschine für BGH Leitsätzen v0.1") as de
93
  """
94
  )
95
  with gr.Row():
96
- q = gr.Textbox(label="Query", placeholder="Is partial priority allowed under EPC?")
97
  k = gr.Slider(1, 20, value=TOPK_DEF, step=1, label="Top-K")
98
  out = gr.Markdown()
99
  gr.Button("Search").click(fn=search, inputs=[q, k], outputs=[out])
 
78
  lines.append("\n> **Disclaimer:** Models can produce incorrect or misleading statements. Verify with sources.")
79
  return "\n\n".join(lines)
80
 
81
+ with gr.Blocks(title="Semantische Suchmaschine für BGH Leitsatzentscheidungen v0.1") as demo:
82
  gr.Markdown(
83
  """
84
  ## Semantische Suchmaschine für BGH Leitsätzen v0.1
85
+ Datensatz: **21.603 Leitsatzentscheidungen des BGH**
86
 
87
  **Wie es funktioniert:** Ermöglicht die semantische Suche im Datensatz und gibt die Entscheidungen geöordnet nach Ähnlichkeitswerten zurück.
88
 
 
93
  """
94
  )
95
  with gr.Row():
96
+ q = gr.Textbox(label="Query", placeholder="Ist eine Partnerschaft zwischen einem Tierarzt und einem Betriebswirt zulässig?")
97
  k = gr.Slider(1, 20, value=TOPK_DEF, step=1, label="Top-K")
98
  out = gr.Markdown()
99
  gr.Button("Search").click(fn=search, inputs=[q, k], outputs=[out])
chroma_langchain/1b598808-24d9-47b9-8d32-9e87cf5c47c1/data_level0.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca691a62352ff9bdf4064089a4b45097fa8448332dba541b79b281bfa6ce0179
3
+ size 69070848
chroma_langchain/1b598808-24d9-47b9-8d32-9e87cf5c47c1/header.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ec1a0c5d8226d49a9b5770afdb81f9ae46453e0c0de18ae0ba9722f484db42d
3
+ size 100
chroma_langchain/1b598808-24d9-47b9-8d32-9e87cf5c47c1/index_metadata.pickle ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d462a5a9d256157e119c21b5226a3df319157c9e79e8c0d597aca3d061282d3
3
+ size 2150612
chroma_langchain/1b598808-24d9-47b9-8d32-9e87cf5c47c1/length.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d60d8d1b9ea2e3f5e4bb6ba1c4bda11129590a13456f250fd9203816c8e049f1
3
+ size 86016
chroma_langchain/1b598808-24d9-47b9-8d32-9e87cf5c47c1/link_lists.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ad2104916c8d24e2c5f1dd6057a631ccae8c786880d12331e0d0cc68342f7f6
3
+ size 186180
chroma_langchain/chroma.sqlite3 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:52db109ad2e66225fb70611dd4671c6edf7ca0e331cac91d79e495ae67f36f4d
3
- size 917504
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19bfe89776767b4bd2fa1606ae78647922cffb1fbbd26519c99db6376d3f23d1
3
+ size 110301184