censAgent commited on
Commit
266f43b
·
verified ·
1 Parent(s): 1cb592c

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +5 -5
src/streamlit_app.py CHANGED
@@ -30,11 +30,11 @@ supabase = create_client(SUPABASE_URL, SUPABASE_KEY)
30
  # temperature=0.1,
31
  # max_output_tokens=1000
32
  #)
33
- #embeddings = GoogleGenerativeAIEmbeddings(
34
- # model="models/gemini-embedding-001",
35
- # google_api_key=GEMINI_KEY,
36
- # task_type="retrieval_query" # Critical for the app search to work
37
- #)
38
 
39
  # --- INITIALIZE GROQ LLM ---
40
  # Llama 3.3 70B is the 'Pro' level model for complex industrial reasoning.
 
30
  # temperature=0.1,
31
  # max_output_tokens=1000
32
  #)
33
+ embeddings = GoogleGenerativeAIEmbeddings(
34
+ model="models/gemini-embedding-001",
35
+ google_api_key=GEMINI_KEY,
36
+ task_type="retrieval_query" # Critical for the app search to work
37
+ )
38
 
39
  # --- INITIALIZE GROQ LLM ---
40
  # Llama 3.3 70B is the 'Pro' level model for complex industrial reasoning.