Spaces:
Sleeping
Sleeping
from langchain.text_splitter import CharacterTextSplitter | |
from langchain_community.document_loaders import TextLoader | |
from langchain_community.document_loaders import UnstructuredURLLoader | |
from langchain_huggingface import HuggingFaceEmbeddings | |
from langchain_groq import ChatGroq | |
import langchain_community.vectorstores | |
from pinecone import Pinecone, ServerlessSpec | |
from dotenv import load_dotenv | |
import os | |
from langchain_core.prompts import PromptTemplate | |
from langchain.schema.runnable import RunnablePassthrough | |
from langchain.schema.output_parser import StrOutputParser | |
import gradio as gr |