Skip to content

Commit 3ace098

Browse files
committed
updates
1 parent 0cf093c commit 3ace098

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

.env

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Postgres database address for cocoindex
22
COCOINDEX_DATABASE_URL=postgres://cocoindex:cocoindex@localhost/cocoindex
3-
GOOGLE_CLOUD_PROJECT_ID = your-project-id
4-
GOOGLE_CLOUD_PROCESSOR_ID = your-processor-id
3+
GOOGLE_CLOUD_PROJECT_ID =
4+
GOOGLE_CLOUD_PROCESSOR_ID =

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,14 @@ In this example, we will walk you through how to build embedding index based on
1010

1111
## Prerequisite
1212
- [Install Postgres](https://cocoindex.io/docs/getting_started/installation#-install-postgres) if you don't have one.
13-
- Get your [`LLAMA_CLOUD_API_KEY`](https://docs.cloud.llamaindex.ai/llamaparse/getting_started/get_an_api_key)
13+
- Configure Project and Processs ID for Document AI API
14+
- [Official Google document AI API](https://cloud.google.com/document-ai/docs/try-docai)
15+
- Sign in to [Google Cloud Console](https://console.cloud.google.com/), create or open a project, and enable Document AI API.
16+
![Google Cloud Console](image/cloud-console.png)
17+
- Create a processor in Document AI.
18+
![Create a processor in Document AI](image/create-processor.png)
19+
- update '.env' with `GOOGLE_CLOUD_PROJECT_ID` and `GOOGLE_CLOUD_PROCESSOR_ID`.
20+
1421

1522
## Run
1623

image/cloud-console.png

137 KB
Loading

image/create-processor.png

246 KB
Loading

0 commit comments

Comments
 (0)