Spaces:
Configuration error
Configuration error
Download src/rag_chatbot/shared/embedding/__init__.py from nhabibi/HF-RAGChatbot-Streamlit: direct link, hf CLI and curl.
- Browser
- Download file 413 Bytes
-
https://huggingface.co/spaces/nhabibi/HF-RAGChatbot-Streamlit/resolve/main/src/rag_chatbot/shared/embedding/__init__.py
- Command line
-
hf download hf://spaces/nhabibi/HF-RAGChatbot-Streamlit/src/rag_chatbot/shared/embedding/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/nhabibi/HF-RAGChatbot-Streamlit/resolve/main/src/rag_chatbot/shared/embedding/__init__.py
413 Bytes
| """Text embedding module.""" | |
| from .config import EMBEDDING_DIM, EMBEDDING_MODEL_NAME | |
| from .encoder import encode_documents, encode_query | |
| from .text import EMBEDDING_TEXT_VERSION, datacard_chunks, datacard_embedding_text | |
| __all__ = [ | |
| "EMBEDDING_DIM", | |
| "EMBEDDING_MODEL_NAME", | |
| "EMBEDDING_TEXT_VERSION", | |
| "datacard_chunks", | |
| "datacard_embedding_text", | |
| "encode_documents", | |
| "encode_query", | |
| ] | |