This commit integrates OpenAI as a new Large Language Model (LLM) provider, expanding the available options for content refinement. Key changes include: - Added `set_openai_api_key` to handle OpenAI API key retrieval from `config.ini` or environment variables. - Modified `set_api_key` to dynamically read the LLM provider from `config.ini`
16 lines
365 B
TOML
Executable File
16 lines
365 B
TOML
Executable File
[project]
|
|
name = "slide-translate"
|
|
version = "0.1.0"
|
|
description = "Add your description here"
|
|
readme = "README.md"
|
|
requires-python = ">=3.13"
|
|
dependencies = [
|
|
"docling>=2.57.0",
|
|
"langchain>=1.0.2",
|
|
"langchain-community>=0.4.1",
|
|
"langchain-google-genai>=3.0.0",
|
|
"langchain-ollama>=1.0.0",
|
|
"langchain-openai>=1.0.2",
|
|
"pymupdf>=1.26.6",
|
|
]
|