PICK / app.py
clui's picture
add app.py
6e2b09a
raw
history blame
549 Bytes
import streamlit as st
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader
from llama_index.embeddings.huggingface import HuggingFaceEmbedding
from llama_index.core.node_parser import SentenceSplitter
from llama_index.core.ingestion import IngestionPipeline
import chromadb
from llama_index.vector_stores.chroma import ChromaVectorStore
from llama_index.llms.ollama import Ollama
# Ustawienia strony
st.title("Aplikacja z LlamaIndex")
# Załaduj dokumenty
documents = SimpleDirectoryReader('./data/').load_data()
print(documents)