File size: 549 Bytes
6e2b09a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
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) |