|
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 |
|
|
|
|
|
|
|
st.title("Aplikacja z LlamaIndex") |
|
|
|
|
|
documents = SimpleDirectoryReader('./data/').load_data() |
|
print(documents) |