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
Refactor ServiceFactory and Dependencies #1560
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
dosubot
bot
added
size:XL
This PR changes 500-999 lines, ignoring generated files.
size:L
This PR changes 100-499 lines, ignoring generated files.
enhancement
New feature or request
python
Pull requests that update Python code
and removed
size:XL
This PR changes 500-999 lines, ignoring generated files.
labels
Mar 25, 2024
carlosrcoelho
pushed a commit
that referenced
this pull request
Mar 25, 2024
* Update dependencies for OpenTelemetry * Update service dependency logic and add first version of telemetry service * Remove telemetry service and related code
ogabrielluiz
added a commit
that referenced
this pull request
Mar 26, 2024
* Add new documentation files and update package dependencies * Refactor tweak application logic in process_tweaks function * Add dynamic function creation and execution helpers * Refactor build method to be asynchronous * Add FlowToolComponent to handle flows as tools * Update RunFlowComponent to include a method for updating build config * Fix duplicated first layer results * Refactor vertex building and streaming endpoints * Add base_name attribute to Vertex class * Refactor flow.py to generate dynamic flow functions and build schemas * Refactor FlowToolComponent in FlowTool.py * Add JSONInputComponent to load JSON object as input * Update render_tool_description method in XMLAgent.py * Refactor XMLAgentComponent.render_tool_description() method * Refactor SearchApi.py to include typing and handle empty records * Refactor SearchApi class to simplify code * Add SearchApi and SearchApiTool components * Refactor ServiceFactory and Dependencies (#1560) * Update dependencies for OpenTelemetry * Update service dependency logic and add first version of telemetry service * Remove telemetry service and related code * Update cache service references * Refactor imports in env.py * Refactor code for initializing services and socketio server * Refactor parameterComponent to use inline button_text * Refactor build_vertex method and add RunnableVerticesManager class * Add import statement and update build_vertex function * Add import statement for SettingsService in MonitorServiceFactory.create() method * Refactor build_schema_from_inputs to use display_name and description for field names and descriptions respectively * Refactor graph building and running logic * Update input type mappings and function arguments * Update default values for input types in flow.py * Remove console.log statement in flowStore.ts * Add vertices_to_run field to VerticesOrderResponse * Add input_value parameter to chain components * Refactor CSVAgent build method to include handle_parse_errors parameter * Add agent_type parameter to CSVAgent build method * Update model imports in component files * Add LCAgentComponent and XMLAgentComponent * Add "agents" category to NATIVE_CATEGORIES * Refactor model.py to support chat models * Add system_message parameter to model components * Update CSVAgent.py: handle_parsing_errors and agent_type options * Add ping animation to update button * Fix encryption and decryption of API keys * Update CSVAgentComponent constructor * Refactor inputs parameter to inputs_dict in build_vertex function * Removes "component" table and drops "flowstyle" table * Delete component model and init files * Removes "flowstyle" table and drops "user" table index * Add typing import to CohereModel.py * Fix ShareModal rendering issue * Update models docs * Changed vector-stores docs * Update component documentation * Add AstraDB and AstraDBSearch components for AstraDB Vector Store docs * Rename GetNotified to Listen * Update GetNotifiedComponent import * Remove unused imports in flow-runner.mdx and features.mdx * Add new documentation files and update existing files * Update package versions in package-lock.json * Remove unused files * Delete run-flow.mdx file * Update topics * Add new file run-flow.mdx --------- Co-authored-by: Gabriel Luiz Freitas Almeida <[email protected]> Co-authored-by: anovazzi1 <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New feature or request
python
Pull requests that update Python code
size:L
This PR changes 100-499 lines, ignoring generated files.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Now service dependencies are determined dynamically which reduces the friction of developing new services by several steps.