Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New features: inline broker request-response, temporary queues, improved docs and examples and better testing #39

Merged
merged 20 commits into from
Sep 26, 2024
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
67e01f9
Examples Update + Code Refactor (#25)
cyrus2281 Aug 27, 2024
31adf19
Added support for temporary queue + UUID queue name (#26)
cyrus2281 Aug 28, 2024
3ede57a
Add assembly component and auto-generated documents (#27)
cyrus2281 Aug 29, 2024
c95b7f3
Added MoA Example + UUID Invoke Function (#28)
cyrus2281 Aug 29, 2024
8fa025e
Update documentation for new users + Refactored component_input & sou…
cyrus2281 Sep 3, 2024
3f33985
Fixed solace disconnection issues on shutting down (#30)
cyrus2281 Sep 3, 2024
8c9434f
Add RAG example for AI connector + delete action for vector index (#31)
cyrus2281 Sep 4, 2024
3c9b8ba
chore: Refactor make_history_start_with_user_message method (#32)
efunneko Sep 5, 2024
8f936ea
Merge branch 'SolaceLabs:main' into main
artyom-morozov Sep 6, 2024
fc26447
Keep history depth needs to be a positive integer and test refactor (…
efunneko Sep 9, 2024
113b930
Fix for anthropic example (#35)
cyrus2281 Sep 11, 2024
43821d9
Updating version dependency (#37)
cyrus2281 Sep 17, 2024
1a96bae
Fixed url and file name in getting started (#38)
cyrus2281 Sep 19, 2024
9f2891f
Add guide for RAG (#39)
cyrus2281 Sep 19, 2024
be10555
Added link to other docs from RAG guide (#40)
cyrus2281 Sep 20, 2024
2e1c1c6
chore: added a timeout setting for running component tests so that yo…
efunneko Sep 23, 2024
c2d77a4
AI-124: Add a feature to provide simple blocking broker request/respo…
efunneko Sep 23, 2024
0146c9d
feat: AI-129: add ability to specify a default value for a an environ…
efunneko Sep 24, 2024
49cf9b6
DATAGO-85484 Bump min python version
artyom-morozov Sep 26, 2024
49f0d06
Merge pull request #44 from SolaceDev/DATAGO-85484-fix-ci
artyom-morozov Sep 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix for anthropic example (#35)
  • Loading branch information
cyrus2281 authored Sep 11, 2024
commit 113b9304cd4af05172c3a0a2d7c2189374c6d78a
1 change: 0 additions & 1 deletion config.yaml
Original file line number Diff line number Diff line change
@@ -9,7 +9,6 @@ log:

shared_config:
- broker_config: &broker_connection
broker_connection_share: ${SOLACE_BROKER_URL}
broker_type: solace
broker_url: ${SOLACE_BROKER_URL}
broker_username: ${SOLACE_BROKER_USERNAME}
1 change: 0 additions & 1 deletion examples/ack_test.yaml
Original file line number Diff line number Diff line change
@@ -15,7 +15,6 @@ log:

shared_config:
- broker_config: &broker_connection
broker_connection_share: ${SOLACE_BROKER_URL}
broker_type: solace
broker_url: ${SOLACE_BROKER_URL}
broker_username: ${SOLACE_BROKER_USERNAME}
16 changes: 6 additions & 10 deletions examples/anthropic_bedrock.yaml
Original file line number Diff line number Diff line change
@@ -3,7 +3,10 @@
# sends a message to an Anthropic Bedrock model, and
# sends the response back to the Solace broker
# It will ask the model to write a dry joke about the input
# message. It takes the entire payload of the input message
# message.
# Send a message to the Solace broker topics `my/topic1` or `my/topic2`
# with a plain text payload. The model will respond with a dry joke to the
# same topic prefixed with `response/`. (e.g. `response/my/topic1`)
#
# Dependencies:
# pip install langchain_aws langchain_community
@@ -28,12 +31,12 @@ log:

shared_config:
- broker_config: &broker_connection
broker_connection_share: ${SOLACE_BROKER_URL}
broker_type: solace
broker_url: ${SOLACE_BROKER_URL}
broker_username: ${SOLACE_BROKER_USERNAME}
broker_password: ${SOLACE_BROKER_PASSWORD}
broker_vpn: ${SOLACE_BROKER_VPN}
payload_encoding: utf-8

# List of flows
flows:
@@ -51,7 +54,6 @@ flows:
qos: 1
- topic: my/topic2
qos: 1
payload_encoding: utf-8
payload_format: text

- component_name: llm
@@ -81,13 +83,7 @@ flows:
- component_name: solace_sw_broker
component_module: broker_output
component_config:
broker_connection_share: ${SOLACE_BROKER_URL}
broker_type: solace
broker_url: ${SOLACE_BROKER_URL}
broker_username: ${SOLACE_BROKER_USERNAME}
broker_password: ${SOLACE_BROKER_PASSWORD}
broker_vpn: ${SOLACE_BROKER_VPN}
payload_encoding: utf-8
<<: *broker_connection
payload_format: text
input_transforms:
- type: copy
1 change: 0 additions & 1 deletion examples/error_handler.yaml
Original file line number Diff line number Diff line change
@@ -25,7 +25,6 @@ log:

shared_config:
- broker_config: &broker_connection
broker_connection_share: ${SOLACE_BROKER_URL}
broker_type: solace
broker_url: ${SOLACE_BROKER_URL}
broker_username: ${SOLACE_BROKER_USERNAME}
1 change: 0 additions & 1 deletion examples/request_reply.yaml
Original file line number Diff line number Diff line change
@@ -16,7 +16,6 @@ log:

shared_config:
- broker_config: &broker_connection
broker_connection_share: ${SOLACE_BROKER_URL}
broker_type: solace
broker_url: ${SOLACE_BROKER_URL}
broker_username: ${SOLACE_BROKER_USERNAME}