Skip to content

Commit 35685c0

Browse files
Add GenAI Gateway and APISIX Gateway configuration documentation
1 parent 63630dd commit 35685c0

2 files changed

Lines changed: 22 additions & 7 deletions

File tree

PdfToPodcast/README.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,23 @@ docker ps
121121
### Required API Keys
122122

123123
**For LLM Service (Script Generation):**
124-
- INFERENCE_API_ENDPOINT: URL of the deployed model inference service
125-
- INFERENCE_API_TOKEN: API key / bearer token used to authenticate requests
124+
125+
This application supports multiple inference deployment patterns:
126+
127+
- **GenAI Gateway**: Provide your GenAI Gateway URL and API key
128+
- **APISIX Gateway**: Provide your APISIX Gateway URL and authentication token
129+
130+
Configuration requirements:
131+
- INFERENCE_API_ENDPOINT: URL to your inference service (GenAI Gateway, APISIX Gateway, etc.)
132+
- INFERENCE_API_TOKEN: Authentication token/API key for your chosen service
126133

127134
**For TTS Service (Audio Generation):**
128-
- OpenAI API Key for text-to-speech
129-
- Sign up at https://platform.openai.com/
130-
- Create API key at https://platform.openai.com/api-keys
131-
- Key format starts with `sk-proj-`
132-
- Requires access to TTS APIs
135+
136+
OpenAI API Key for text-to-speech:
137+
- Sign up at https://platform.openai.com/
138+
- Create API key at https://platform.openai.com/api-keys
139+
- Key format starts with `sk-proj-`
140+
- Requires access to TTS APIs
133141

134142
---
135143

PdfToPodcast/api/llm-service/.env.example

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
# Inference API Configuration
2+
# INFERENCE_API_ENDPOINT: URL to your inference service (without /v1 suffix)
3+
# - For GenAI Gateway: https://genai-gateway.example.com
4+
# - For APISIX Gateway: https://apisix-gateway.example.com/inference
5+
#
6+
# INFERENCE_API_TOKEN: Authentication token/API key for the inference service
7+
# - For GenAI Gateway: Your GenAI Gateway API key
8+
# - For APISIX Gateway: Your APISIX authentication token
29
INFERENCE_API_ENDPOINT=https://your-api-endpoint.com/deployment
310
INFERENCE_API_TOKEN=your-pre-generated-token-here
411
INFERENCE_MODEL_NAME=deepseek-ai/DeepSeek-R1-Distill-Qwen-32B

0 commit comments

Comments
 (0)