Amazonska Kendra is a highly accurate and easy-to-use intelligent search service powered by machine learning (ML). Amazon Kendra offers a suite of data source connectors to simplify the process of ingesting and indexing your content, wherever it resides.
For many organizations, Box Content Cloud is a core part of their content storage and lifecycle management strategy. An enterprise Box account often contains a treasure trove of assets, such as documents, presentations, knowledge articles, and more. Now, with the new Amazon Kendra data source connector for Box, these assets and any associated tasks or comments can be indexed by Amazon Kendra’s intelligent search service to reveal content and unlock answers in response to users’ queries.
In this post, we show you how to set up the new Amazon Kendra Box connector to selectively index content from your Box Enterprise repository.
Pregled rešitev
Rešitev je sestavljena iz naslednjih korakov na visoki ravni:
- Create a Box app for Amazon Kendra via the Box Developer Console.
- Add sample documents to your Box account.
- Create a Box data source via the Amazon Kendra console.
- Index the sample documents from the Box account.
Predpogoji
To try out the Amazon Kendra connector for Box, you need the following:
- An AWS račun s privilegiji za ustvarjanje AWS upravljanje identitete in dostopa (IAM) vloge in politike. Za več informacij glejte Pregled upravljanja dostopa: dovoljenja in politike.
- Basic knowledge of AWS and working knowledge of Box Enterprise administration.
- Admin access to a Box Enterprise workspace.
Create a Box app for Amazon Kendra
Before you configure an Amazon Kendra Box data source connector, you must first create a Box app.
- Log in to the Box Enterprise Konzola za razvijalce.
- Izberite Create New App.
- Izberite Aplikacija po meri.
- Izberite Server Authentication (with JWT).
- Enter a name for your app. For example,
KendraConnector
. - Izberite Ustvari aplikacijo.
- In your created app in Moje aplikacije, izberite konfiguracija tab.
- v App Access Level oddelek, izberite App + Enterprise Access.
- v Obseg uporabe section, check that the following permissions are enabled:
- v Napredne funkcije izberite, izberite Make API calls using the as-user header.
- v Add and Manage Public Keys oddelek, izberite Generate a Public/Private Keypair.
This requires two-step verification. A JSON text file is downloaded to your computer.
- Izberite OK to accept this download.
- Izberite Shrani spremembe.
- o Dovoljenje izberite jeziček Pregled in predložitev.
- Izberite Submit app within this enterprise In izberite Prijave se.
Your Box Enterprise owner needs to approve the app before you can use it.
Go to the downloads directory on your computer to review the downloaded JSON file. It contains the client ID, client secret, public key ID, private key, pass phrase, and enterprise ID. You need these values to create the Box data source in a later step.
Add sample documents to your Box account
In this step, you upload sample documents to your Box account. Later, we use the Amazon Kendra Box data source to crawl and index these documents.
- Prenos AWS_Whitepapers.zip na vaš računalnik.
- Extract the files to a folder called
AWS_Whitepapers
.
- Naložite
AWS_Whitepapers
folder to your Box account.
Create a Box data source
To add a data source to your Amazon Kendra index using the Box connector, you can use an existing Amazon Kendra index, or ustvarite nov indeks Amazon Kendra. Then complete the following steps to create a Box data source:
- Na konzoli Amazon Kendra izberite Kazala v podoknu za krmarjenje.
- From the list of indexes, choose the index that you want to add the data source to.
- Izberite Dodajte vire podatkov.
- From the list of data source connectors, choose Dodaj konektor pod Pasovi.
- o Določite podrobnosti o viru podatkov page, enter a data source name and optional description.
- Izberite Naslednji.
- Open the JSON file you downloaded from the Box Developer Console.
It contains values for clientID
, clientSecret
, publicKeyID
, privateKey
, passphrase
in enterpriseID
.
- o Določite dostop in varnost strani, v vir odsek, za Box enterprise ID, enter the value of the
enterpriseID
področju. - v Preverjanje pristnosti oddelek, pod Skrivnost upravitelja skrivnosti AWS, izberite Ustvarite in dodajte novo skrivnost.
- za Skrivno ime, enter a name for the secret, for example,
boxsecret1
. - For the remaining fields, enter the corresponding values from the downloaded JSON file.
- Izberite Shrani in dodaj skrivnost.
- v Vloga IAM oddelek, izberite Ustvari novo vlogo (priporočeno) and enter a role name, for example,
box-role
.
For more information on the required permissions to include in the IAM role, see Vloge IAM za vire podatkov.
- Izberite Naslednji.
- o Konfigurirajte nastavitve sinhronizacije strani, v Obseg sinhronizacije section, you can include Box web links, comments, and tasks in your index, in addition to file contents. Use the default setting (unchecked) for this post.
- za Additional configuration (change log) - opcijsko, use the default setting (unchecked).
- za Additional configuration (regex patterns) – optional, izberite Vključite vzorce.
- za tip, izberite Pot
- za Path – optional, enter the path to the sample documents you uploaded earlier:
AWS_Whitepapers/
. - Izberite Dodaj.
- v Urnik sinhronizacije oddelek, izberite Teči na zahtevo.
- Izberite Naslednji.
- o Set fields mapping page, you can define how the data source maps attributes from Box objects to your index. Use the default settings for this post.
- Izberite Naslednji.
- o Preglejte in ustvarite page, review the details of your Box data source.
- To make changes, choose the Uredi button next to the item that you want to change.
- Ko končate, izberite Dodaj vir podatkov to add your Box data source.
Ko izberete Dodaj vir podatkov, Amazon Kendra starts creating the data source. It can take several minutes for the data source to be created. When it’s complete, the status of the data source changes from Creating
do Active
.
Index sample documents from the Box account
You configured the data source sync run schedule to run on demand, so you need to start it manually.
- Na konzoli Amazon Kendra se pomaknite do svojega indeksa.
- Choose your new data source.
- Izberite Sinhronizirajte zdaj.
The current sync state changes to Syncing – crawling
, nato na Syncing – indexing
.
After about 10 minutes, the current sync state changes to idle
, the last sync status changes to Successful
In Sinhronizacija zgodovine izvajanja panel shows more details, including the number of documents added.
Preizkusite raztopino
Now that you have ingested the AWS whitepapers from your Box account into your Amazon Kendra index, you can test some queries.
- Na konzoli Amazon Kendra izberite Iskanje po indeksirani vsebini v podoknu za krmarjenje.
- In the query field, enter a test query, such as
What databases are offered by AWS?
You can try your own queries too.
Congratulations! You have successfully used Amazon Kendra to surface answers and insights based on the content indexed from your Box account.
Čiščenje
Da se izognete prihodnjim stroškom, počistite vire, ki ste jih ustvarili kot del te rešitve.
- If you created a new Amazon Kendra index while testing this solution, delete it.
- If you added a new data source using the Amazon Kendra connector for Box, delete that data source.
- Izbriši
AWS_Whitepapers
folder and its contents from your Box account.
zaključek
With the Amazon Kendra Box connector, organizations can make invaluable information trapped in their Box accounts available to their users securely using intelligent search powered by Amazon Kendra.
V tej objavi smo vam predstavili osnove, vendar obstaja veliko dodatnih funkcij, ki jih nismo zajeli. Na primer:
- You can enable user-based access control for your Amazon Kendra index, and restrict access to Box documents based on the access controls you have already configured in Box
- You can index additional Box object types, such as tasks, comments, and web links
- You can map Box object attributes to Amazon Kendra index attributes, and enable them for faceting, search, and display in the search results
- You can integrate the Box data source with the Custom Document Enrichment (CDE) capability in Amazon Kendra to perform additional attribute mapping logic and even custom content transformation during ingestion
Če želite izvedeti več o teh možnostih in več, glejte Vodnik za razvijalce Amazon Kendra.
O avtorjih
Bob Strahan je glavni arhitekt rešitev v skupini AWS Language AI Services.
- "
- 10
- 100
- O meni
- dostop
- Račun
- natančna
- Poleg tega
- Dodatne
- uprava
- AI
- Storitve AI
- vsi
- že
- Amazon
- API
- aplikacija
- odobri
- članki
- Sredstva
- lastnosti
- Preverjanje pristnosti
- Na voljo
- AWS
- Osnove
- Pasovi
- spremenite
- Izberite
- Cloud
- komentarji
- konfiguracija
- Konzole
- Vsebuje
- vsebina
- Vsebina
- nadzor
- Core
- stroški
- ustvaril
- Ustvarjanje
- Trenutna
- po meri
- datum
- baze podatkov
- Povpraševanje
- Razvojni
- zaslon
- Dokumenti
- prenosov
- omogočajo
- Vnesite
- Podjetje
- Primer
- Lastnosti
- Področja
- prva
- po
- Prihodnost
- pridobivanje
- zelo
- Kako
- Kako
- HTTPS
- identiteta
- vključujejo
- Vključno
- Indeks
- Podatki
- vpogledi
- integrirati
- Inteligentna
- IT
- Ključne
- znanje
- jezik
- UČITE
- učenje
- Povezave
- Seznam
- stroj
- strojno učenje
- upravljanje
- upravitelj
- ročno
- map
- Zemljevidi
- ML
- več
- ostalo
- Številka
- Ponudbe
- organizacije
- lastne
- Lastnik
- politike
- možnosti
- Predstavitve
- , ravnateljica
- zasebna
- zasebni ključ
- Postopek
- javnega
- javni ključ
- Preostalih
- Skladišče
- obvezna
- viri
- Odgovor
- pregleda
- Run
- Iskalnik
- Varno
- Storitev
- Storitve
- nastavite
- nastavitev
- So
- Rešitev
- rešitve
- nekaj
- Začetek
- začel
- začne
- Država
- Status
- shranjevanje
- Strategija
- Uspešno
- Površina
- Naloge
- skupina
- Test
- Testiranje
- Osnove
- Preoblikovanje
- odklepanje
- uporaba
- Uporabniki
- vrednost
- Preverjanje
- web
- medtem
- whitepapere
- v
- deluje