Test mit marqo-DB
This commit is contained in:
0
ask_llm.py
Normal file
0
ask_llm.py
Normal file
Binary file not shown.
Binary file not shown.
BIN
dateien/Steuerdokumente/Dötsch_Pung_Möhlenbrock_1.pdf
Normal file
BIN
dateien/Steuerdokumente/Dötsch_Pung_Möhlenbrock_1.pdf
Normal file
Binary file not shown.
BIN
dateien/Steuerdokumente/Dötsch_Pung_Möhlenbrock_2.pdf
Normal file
BIN
dateien/Steuerdokumente/Dötsch_Pung_Möhlenbrock_2.pdf
Normal file
Binary file not shown.
@@ -3,13 +3,13 @@ import fitz # PyMuPDF zum Extrahieren von PDF-Text
|
|||||||
import marqo
|
import marqo
|
||||||
|
|
||||||
# Verbindung zur Marqo-Instanz herstellen
|
# Verbindung zur Marqo-Instanz herstellen
|
||||||
client = marqo.Client(url="http://localhost:8882") # Marqo-URL
|
client = marqo.Client(url="http://192.168.11.16:8882") # Marqo-URL
|
||||||
|
|
||||||
# Marqo-Indexname
|
# Marqo-Indexname
|
||||||
index_name = "pdf-index"
|
index_name = "pdf-index"
|
||||||
|
|
||||||
# Ordner mit PDFs
|
# Ordner mit PDFs
|
||||||
pdf_folder = "/opt/ki/st01"
|
pdf_folder = "C:\Firma\KI\Local_RAG\dateien"
|
||||||
|
|
||||||
# Index-Einstellungen
|
# Index-Einstellungen
|
||||||
index_settings = {
|
index_settings = {
|
||||||
|
|||||||
Reference in New Issue
Block a user