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

Example loader and bugfixes #199

Merged
merged 75 commits into from
Apr 26, 2023
Merged

Example loader and bugfixes #199

merged 75 commits into from
Apr 26, 2023

Conversation

ogabrielluiz
Copy link
Contributor

No description provided.

ibiscp and others added 30 commits April 14, 2023 11:15
refactor(tools/base.py): comment out unused code for ToolCreator
feat(nodes.py): add 'return_direct' field to ToolNode template and set base class to 'Tool'
…s where langchain_object has no prompt attribute
…ow.json") returns

"UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 9465: character maps to
<undefined>".

Specifying the encodint type in the function helps to fix that error.
genome21 and others added 26 commits April 21, 2023 12:22
Fix this for future users so they can get it up and running without having to probe the  GitHub forum
This change adds error handling to catch a specific exception that may occur when processing documents with the ChromaDB library. If there are not enough documents for indexing, the error message will suggest reducing the chunk size in TextSplitter.
…re instantiation

feat(loading.py): add optional build parameter to load_flow_from_json function
This pull request adds a new feature to the flow editor that allows
users to easily import example flows from the
[logspace-ai/langflow_examples](https://github.com/logspace-ai/langflow_examples)
repository on GitHub. The feature is accessible via the import example
button

Clicking on the "Import Examples" button opens a dialog box that
displays a list of available example flows from the GitHub repository.
Users can select one example to import, and the flow editor will
automatically add the selected flow to the user's current project.

This feature saves users time and effort by providing a convenient way
to explore and utilize pre-built flows.

Additionally, this feature promotes collaboration and community
involvement by encouraging users to contribute their own flows to the
repository for others to use and benefit from.
This commit refactors the code for the ImportModal component to use hooks like useState and useContext, resulting in improved readability and maintainability. It also adds functionality to load prebuilt examples and handle local file uploads.
…en fields to support loading from environment variables
This commit modifies run.py to use type hinting and avoid circular imports by changing the import for NotEnoughElementsException to use type: ignore. Specifically, the code now imports from chromadb.errors instead of chromadb.exceptions.
…n tests for huggingfacehub_api_token, openai_api_key, and chat_openai_api_key in llms_template.
@ogabrielluiz ogabrielluiz added the Release Label to be set only on release PR label Apr 26, 2023
@ogabrielluiz ogabrielluiz requested a review from anovazzi1 April 26, 2023 00:10
@anovazzi1 anovazzi1 merged commit 1f095cc into main Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release Label to be set only on release PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants