Spaces:
Sleeping
Sleeping
robgenesis
commited on
Remove merge statements
Browse files
app.py
CHANGED
@@ -7,13 +7,11 @@ from llama_index import (
|
|
7 |
download_loader,
|
8 |
)
|
9 |
import chromadb
|
10 |
-
<<<<<<< HEAD
|
11 |
import typing_extensions
|
12 |
|
13 |
|
14 |
=======
|
15 |
from llama_index import Document
|
16 |
-
>>>>>>> ingest_data
|
17 |
from llama_index.llms import MistralAI
|
18 |
from llama_index.embeddings import MistralAIEmbedding
|
19 |
from llama_index.vector_stores import ChromaVectorStore
|
@@ -28,7 +26,7 @@ placeholder = (
|
|
28 |
placeholder_url = "Extract text from this url"
|
29 |
llm_model = "mistral-small"
|
30 |
|
31 |
-
env_api_key =
|
32 |
query_engine = None
|
33 |
|
34 |
# Define LLMs
|
|
|
7 |
download_loader,
|
8 |
)
|
9 |
import chromadb
|
|
|
10 |
import typing_extensions
|
11 |
|
12 |
|
13 |
=======
|
14 |
from llama_index import Document
|
|
|
15 |
from llama_index.llms import MistralAI
|
16 |
from llama_index.embeddings import MistralAIEmbedding
|
17 |
from llama_index.vector_stores import ChromaVectorStore
|
|
|
26 |
placeholder_url = "Extract text from this url"
|
27 |
llm_model = "mistral-small"
|
28 |
|
29 |
+
env_api_key = os.environ.get("MISTRAL_API_KEY")
|
30 |
query_engine = None
|
31 |
|
32 |
# Define LLMs
|