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

DATAGO-79372: Add Publish workflow #3

Merged
merged 5 commits into from
Jul 8, 2024
Merged

Conversation

AmanRiat1
Copy link

@AmanRiat1 AmanRiat1 commented Jul 2, 2024

Adding the publish workflow. The workflow will be manually run and then:

  • Build
  • Upversion depending on the input (patch, minor, major)
  • Create Github Release
  • Publish to pypi

No keys are needed because of PyPi's trusted publishing. All we have to do is add a deploy key on the SolaceLabs repository as well as configure the github environment

Copy link

gitstream-cm bot commented Jul 2, 2024

Please mark whether you used Copilot to assist coding in this PR

  • Copilot Assisted

Copy link

@artyom-morozov artyom-morozov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@AmanRiat1 AmanRiat1 merged commit f140ca6 into main Jul 8, 2024
2 checks passed
efunneko added a commit that referenced this pull request Jul 11, 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]>
@AmanRiat1 AmanRiat1 deleted the DATAGO-79372-publish-workflow branch August 20, 2024 14:49
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.

3 participants