-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.project-metadata.yaml
59 lines (52 loc) · 1.96 KB
/
.project-metadata.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Document Summarization with Gemini from Vertex AI
description: Summarize documents and text using Google's Gemini models from the Vertex AI Model Garden. Suggested runtime is JupyterLab, Python 3.11, Standard Edition with lastest version.
author: Cloudera, Inc.
specification_version: 1.0
prototype_version: 1.0
date: "2024-09-29"
environment_variables:
GOOGLE_API_KEY:
default: ""
description: "Google API Key with access to Gemini models"
required: true
runtimes:
- editor: JupyterLab
kernel: Python 3.11
edition: Standard ## NO GPU required since API access to Vertex AI is sufficient
tasks:
- type: create_job
name: Create Job to Install Dependencies
entity_label: install_dependencies
script: 1_session-install-dependencies/download_requirements.py
short_summary: Install Requirements and Dependencies
kernel: python3
cpu: 2
memory: 8
environment:
TASK_TYPE: CREATE/RUN_JOB
- type: run_job
entity_label: install_dependencies
short_summary: Run Job to Install Dependencies
- type: create_job
name: Load Documents in docs folder to LlamaIndex vector store
entity_label: load-docs
script: 2_job_load-to-vector-db/load-to-vector-db.py
arguments: None
cpu: 2
memory: 8
short_summary: Load Documents in docs folder to LlamaIndex vector store (creates embeddings from docs)
environment:
TASK_TYPE: CREATE/RUN_JOB
- type: run_job
entity_label: load-docs
short_summary: Load Documents in docs folder to LlamaIndex vector store (creates embeddings from docs)
- type: start_application
name: Doc Summarization with Gemini
subdomain: vertex-ai-gemini
script: 3_application/start-app.py
short_summary: Launch streamlit UI for document summarization with Google's Gemini models
long_summary: Launch streamlit UI for document summarization with Google's Gemini models
cpu: 2
memory: 8
environment_variables:
TASK_TYPE: START_APPLICATION