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

Two changes: added file_output component and a cleaner way for a component to discard a message #22

Merged
merged 40 commits into from
Jul 25, 2024

Conversation

efunneko
Copy link
Collaborator

@efunneko efunneko commented Jul 23, 2024

  • ComponentBase class that all components inherit from now has an explicit 'discard_current_message()' function to allow a custom component to discard the current message from 'invoke'
  • Add the built-in component 'file_output'
  • Fixed an issue in timer_input that could cause the timer interval to shrink over time

efunneko and others added 30 commits April 27, 2024 14:48
* Add ability to stream partial LLM responses to a named flow
* Add a configurable message that is sent to the slack channel that sent a message to slack_input
* Add the ability to clear the ack message and stream partial results to that ack message
…hHistory

- also started on converting absolute paths for imports to relative ones
The import statement in `main.py` was updated to remove the relative path and use an absolute import for `SolaceAiConnector` from `solace_ai_connector.solace_ai_connector`. This change improves the code organization and ensures proper module resolution.
…ensible. This is part of a cleanup before releasing to Pypi
…do a directory search looking for modules. We are more explicit now

Also promote the gen_docs tool to an installed script so that it can be used for plugins
Adjusted the importing of modules from config files to be more friendly for plugins and added a 'component_package' properly that will be auto-installed if it is specified and the package is not present.
…_kv_store

This commit updates the component_base.py file to include the flow_lock_manager and flow_kv_store attributes. These attributes are necessary for components to access the flow-level lock manager and key-value store. By adding these attributes, components can now utilize the lock manager to synchronize access to shared resources and the key-value store to store and retrieve data across multiple components within the flow. This change improves the flexibility and functionality of the component_base.py file.

Changed the default location of the trust_store for the Solace API to be provided by the certifi module.

Added a configuration item for the ChatModel with History component to be able to limit the size of entries being added to the chat history
This commit updates the trust_store_path for the Solace API in the solace_messaging.py file. The trust_store_path is now provided by the certifi module, which ensures that the default location of the trust store is used. This change improves the security and reliability of the Solace API integration.

```
DATAGO-78654: Add ci
* Cleanup of some lingering prints and add a couple more tests

* Print cleanup

* Exclude coverage.py result from sonarqube

---------

Co-authored-by: Edward Funnekotter <[email protected]>
Co-authored-by: Edward Funnekotter <[email protected]>
@efunneko efunneko requested a review from gregmeldrum July 23, 2024 00:56
@efunneko efunneko self-assigned this Jul 23, 2024
* Add reusable workflows

* Run docker tests in parallel
@efunneko efunneko merged commit 161fcc9 into SolaceLabs:main Jul 25, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants