Skip to content

Commit

Permalink
Test e2e tests with azure openai for release 3.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchariGr committed Jul 1, 2024
1 parent cc67006 commit 397fccd
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 12 deletions.
59 changes: 47 additions & 12 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ recipe: default.v1
language: en
pipeline:
- name: LLMBasedRouter
llm:
model_name: "gpt-35-turbo"
engine: "test-gpt-35-turbo"
api_type: "azure"
api_version: "2024-02-01"
openai_api_base: "https://devtribe-testing-canada-east.openai.azure.com/"
request_timeout: 14
calm_entry:
sticky: "handles everything else, including finance and pizza orders"
nlu_entry:
Expand All @@ -26,12 +33,21 @@ pipeline:
timezone: "Europe/Berlin"
timeout: 3
- name: NLUCommandAdapter
- name: LLMCommandGenerator
- name: MultiStepLLMCommandGenerator
flow_retrieval:
embeddings:
model: text-embedding-3-small
deployment: test-text-embedding-3-small
openai_api_base: "https://devtribe-testing-canada-east.openai.azure.com/"
openai_api_type: azure
openai_api_version: "2024-02-01"
llm:
model_name: gpt-4
model_name: "gpt-35-turbo"
engine: "test-gpt-35-turbo"
api_type: "azure"
api_version: "2024-02-01"
openai_api_base: "https://devtribe-testing-canada-east.openai.azure.com/"
request_timeout: 7
temperature: 0.0
top_p: 0.0

policies:
- name: RulePolicy
Expand All @@ -41,15 +57,34 @@ policies:
- name: EnterpriseSearchPolicy
#use_generative_llm: false
#prompt: rag.jinja2
vector_store:
type: "addons.qdrant.Qdrant_Store"
# vector_store:
# type: "addons.qdrant.Qdrant_Store"
embeddings:
type: "huggingface"
model_name: "BAAI/bge-small-en-v1.5"
model_kwargs:
device: 'cpu'
encode_kwargs:
normalize_embeddings: True
model: text-embedding-3-small
deployment: test-text-embedding-3-small
openai_api_base: "https://devtribe-testing-canada-east.openai.azure.com/"
openai_api_type: azure
openai_api_version: "2024-02-01"
llm:
model_name: "gpt-35-turbo"
engine: "test-gpt-35-turbo"
api_type: "azure"
api_version: "2024-02-01"
openai_api_base: "https://devtribe-testing-canada-east.openai.azure.com/"
request_timeout: 14
- name: IntentlessPolicy
embeddings:
model: text-embedding-3-small
deployment: test-text-embedding-3-small
openai_api_base: "https://devtribe-testing-canada-east.openai.azure.com/"
openai_api_type: azure
openai_api_version: "2024-02-01"
llm:
model_name: "gpt-35-turbo"
engine: "test-gpt-35-turbo"
api_type: "azure"
api_version: "2024-02-01"
openai_api_base: "https://devtribe-testing-canada-east.openai.azure.com/"
request_timeout: 14

assistant_id: 20240418-073244-narrow-archive
7 changes: 7 additions & 0 deletions endpoints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ action_endpoint:
#
nlg:
type: rephrase
llm:
model_name: "gpt-35-turbo"
engine: "test-gpt-35-turbo"
api_type: "azure"
api_version: "2024-02-01"
openai_api_base: "https://devtribe-testing-canada-east.openai.azure.com/"
request_timeout: 14

#tracing:
# type: jaeger
Expand Down

0 comments on commit 397fccd

Please sign in to comment.