This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| wiki:ai:advanced_rag_implementation_and_example_code [2025/09/03 16:33] – [Example Code for Azure Web App] bgourley | wiki:ai:advanced_rag_implementation_and_example_code [2025/09/03 16:34] (current) – [Embed Your Dataset in Azure AI Search] bgourley | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| ===== Embed Your Dataset in Azure AI Search ===== | ===== Embed Your Dataset in Azure AI Search ===== | ||
| - | == 1) Configure environment == | + | === 1) Configure environment |
| Create/ | Create/ | ||
| Line 67: | Line 67: | ||
| MAX_TOKENS_ANSWER=800 | MAX_TOKENS_ANSWER=800 | ||
| - | == 2) Install deps == | + | === 2) Install deps === |
| npm install | npm install | ||
| - | == 3) Create/ | + | === 3) Create/ |
| * Our ingest.js creates docs with fields like: | * Our ingest.js creates docs with fields like: | ||
| Line 89: | Line 89: | ||
| * **Invalid keys** – we sanitized IDs (allowUnsafeKeys not needed). | * **Invalid keys** – we sanitized IDs (allowUnsafeKeys not needed). | ||
| - | == 4) Put your documents in the ingest folder == | + | === 4) Put your documents in the ingest folder |
| ingest/ | ingest/ | ||
| Line 101: | Line 101: | ||
| Etc. | Etc. | ||
| - | == 5) Run the ingest == | + | === 5) Run the ingest |
| node ingest/ | node ingest/ | ||