mirror of
https://github.com/Canner/WrenAI.git
synced 2026-10-16 15:07:41 +08:00
feature(wren-ai-service): Automatically loading the providers (#267)
* chore: rename the package * feat: auto loading the providers * feat: using provider loader instead * feat: move the verify function into the OpenAI provider * feat: add test cases for providers loader * fix: wrong provider name * fix: add environment variable for CI * chore: remove redundent testing code * chore: update the function doc * chore: pass the api key into openai client --------- Co-authored-by: Chih-Yu Yeh <chihyu.jimmy.yeh@gmail.com>
This commit is contained in:
@@ -56,6 +56,8 @@ jobs:
|
||||
docker stop wren-engine && docker rm wren-engine
|
||||
env:
|
||||
ENV: dev
|
||||
LLM_PROVIDER: openai
|
||||
DOCUMENT_STORE_PROVIDER: qdrant
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
OPENAI_GENERATION_MODEL: gpt-3.5-turbo
|
||||
WREN_ENGINE_ENDPOINT: http://localhost:8080
|
||||
|
||||
Reference in New Issue
Block a user