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

Slack_input #3

Merged
merged 2 commits into from
Apr 27, 2024
Merged

Slack_input #3

merged 2 commits into from
Apr 27, 2024

Conversation

efunneko
Copy link
Collaborator

Added slack_input for receiving Slack messages over the bolt api
Added timer_input to generate periodic timer events for pipelines
Fixed an issue with the dynamic library search
Fixed shutdown issue on blocked queues
Cleanup up some pylint warnings

Fixed shutdown issue on blocked queues
Cleanup up some pylint warnings
@efunneko efunneko merged commit 2637abd into SolaceLabs:main Apr 27, 2024
@efunneko efunneko deleted the slack_input branch April 27, 2024 18:47
efunneko added a commit that referenced this pull request Jul 9, 2024
* Remove launch.json

* chore: Refactor SlackReceiver to handle channel events and join new channels

* Add ability for a component to send a message directly to a named flow
* 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

* feat: Update default stream_batch_size to 15 in LangChainChatModelWithHistory
- also started on converting absolute paths for imports to relative ones

* Update import statement in main.py

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.

* Another major reorganization of directory structure to make it more sensible. This is part of a cleanup before releasing to Pypi

* Fixed some documentation generation after package reorganization

* chore: Remove unused slack.yaml configuration file

* Made some changes in utils.py for dynamic loading. We will no longer 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

* Moved slack components into their own plugin: solace-ai-connector-slack.
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.

* chore: Update component_base.py to include flow_lock_manager and flow_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

* chore: Update trust_store_path for Solace API

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.

```

* Bump up to latest Solace API and small fix in a debug log

* DATAGO-79372: Add Publish workflow (#3)

* DATAGO-78654 : Add CI (#4)

* DATAGO-78654: Add ci

---------

Co-authored-by: Aman Riat <[email protected]>
Co-authored-by: Art Morozov <[email protected]>
artyom-morozov pushed a commit that referenced this pull request Aug 23, 2024
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.

1 participant