Commit graph

865 commits

Author SHA1 Message Date
Gabriel Almeida
5610073386 chore(pyproject.toml): update package version from 0.0.58 to 0.0.59 2023-04-27 15:03:11 -03:00
Gabriel Almeida
7309734307 chore(pyproject.toml): update langchain dependency from 0.0.131 to 0.0.150 2023-04-27 15:03:11 -03:00
Gabriel Almeida
7eeffc5a6e chore(pyproject.toml): update langflow package version from 0.0.57 to 0.0.58 2023-04-25 21:08:37 -03:00
Gabriel Almeida
601ec86273 style(langflow): fix formatting and add type hinting to custom.py and run.py files 2023-04-25 17:47:43 -03:00
Gabriel Almeida
41f1ba798a refactor(test_llms_template.py): change required fields to optional in tests for huggingfacehub_api_token, openai_api_key, and chat_openai_api_key in llms_template. 2023-04-25 15:38:21 -03:00
Gabriel Almeida
0f0366ebbb Refactor chromadb import in run.py for type hinting
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.
2023-04-25 15:38:21 -03:00
Gabriel Almeida
c14fb1eac3 feat(base.py): add logic to detect api keys in FrontendNode fields 2023-04-25 15:38:21 -03:00
Gabriel Almeida
3497161105 fix(base.py): set OpenAI API Key field as not required 2023-04-25 15:38:21 -03:00
Gabriel Almeida
c6d2d96da8 refactor(nodes.py): set 'required' field to False for API key and token fields to support loading from environment variables 2023-04-25 15:38:21 -03:00
Gabriel Almeida
39ca499dea style(README.md): Added Open in HF Spaces badge 2023-04-25 11:42:41 -03:00
Gabriel Almeida
c522727d6e Refactor ImportModal code to use useState and useContext hooks
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.
2023-04-25 11:03:11 -03:00
Gabriel Almeida
9f5f222f2a refactor(base.py): remove print statement from ToolCreator class 2023-04-25 09:38:28 -03:00
anovazzi1
b3155a58a9
Add Import Examples Feature to Flow Editor (#175)
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.
2023-04-24 19:08:21 -03:00
anovazzi1
a15d605cc8 update styles 2023-04-24 19:03:20 -03:00
Gabriel Almeida
23eb511560 Merge branch 'dev' of https://github.com/logspace-ai/langflow into dev 2023-04-24 08:40:49 -03:00
Gabriel Almeida
23fbec9d42 feat(loading.py): add error handling for empty documents in vectorstore instantiation
feat(loading.py): add optional build parameter to load_flow_from_json function
2023-04-24 08:40:06 -03:00
Rodrigo Nader
76162a9ffa feat(langflow): Handle ChromaDB NotEnoughElementsException
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.
2023-04-23 23:06:10 -03:00
Gabriel Luiz Freitas Almeida
ad24cdc1dd Update README.md 2023-04-23 14:37:11 -03:00
Paul Lockett
b1971570c9 Correct run instructions
Fix this for future users so they can get it up and running without having to probe the  GitHub forum
2023-04-23 14:37:11 -03:00
Robert Wilkins III
b9a9892db6 layout changes 2023-04-21 12:22:12 -03:00
Robert Wilkins III
e90b036b01 remove the nats 2023-04-21 12:22:12 -03:00
Robert Wilkins III
adc93c7902 improve grammer and remove nat 2023-04-21 12:22:12 -03:00
Robert Wilkins III
dada24a5e6 add spot instance support and pricing 2023-04-21 12:22:12 -03:00
Robert Wilkins III
6a59d64a0d remove redundant wording 2023-04-21 12:22:12 -03:00
Robert Wilkins III
b6ae41eef0 more styling 2023-04-21 12:22:12 -03:00
Robert Wilkins III
56e4ae1fcd add styling 2023-04-21 12:22:12 -03:00
Robert Wilkins III
57d83740f1 improve readability 2023-04-21 12:22:12 -03:00
Robert Wilkins III
5a7072175f move trophy toward end of walkthrough 2023-04-21 12:22:12 -03:00
Robert Wilkins III
37bdafa9db clarify notes to connect to vm 2023-04-21 12:22:12 -03:00
Robert Wilkins III
b9a0e55d43 remove input tag 2023-04-21 12:22:12 -03:00
Robert Wilkins III
f46e27d1f0 vars and trophies 2023-04-21 12:22:12 -03:00
Robert Wilkins III
d310a8172f provide user with link to langflow server 2023-04-21 12:22:12 -03:00
Robert Wilkins III
b54b0f0904 var expansion alt test 2023-04-21 12:22:12 -03:00
Robert Wilkins III
c4ebb0a3f6 var expansion again 2023-04-21 12:22:12 -03:00
Robert Wilkins III
90633c3915 revert var expansion test 2023-04-21 12:22:12 -03:00
Robert Wilkins III
7ef97e1334 testing var expansion 2023-04-21 12:22:12 -03:00
Robert Wilkins III
6efa1b7377 set project config 2023-04-21 12:22:12 -03:00
Robert Wilkins III
98be8f87e4 remove login prompt for ephemeral cloudshell 2023-04-21 12:22:12 -03:00
Robert Wilkins III
9c9b69db59 add cloudshell repo trust advisory 2023-04-21 12:22:12 -03:00
Robert Wilkins III
08a1739fa7 force gcp login in ephemeral cloudshell 2023-04-21 12:22:12 -03:00
Robert Wilkins III
9a06ff54c7 match bash script to walkthrough 2023-04-21 12:22:12 -03:00
Robert Wilkins III
bfdbabed55 fix bash command launch 2023-04-21 12:22:12 -03:00
Robert Wilkins III
e5aece49bf remove comments that show up in walkthrough 2023-04-21 12:22:12 -03:00
Robert Wilkins III
aeabaa32cd remove scripted steps from walkthrough 2023-04-21 12:22:12 -03:00
Robert Wilkins III
50b24f9443 configure cloudshell to run walkthrough 2023-04-21 12:22:12 -03:00
Robert Wilkins III
ff3817903f create setup files and GCP tutorial 2023-04-21 12:22:12 -03:00
Robert Wilkins III
19193d21e0 fix apt confirms, heredoc vars, add if statements 2023-04-21 12:22:12 -03:00
Robert Wilkins III
5a51306153 adding machine type to VM create 2023-04-21 12:22:12 -03:00
Robert Wilkins III
b946edb3d1 Allow IAP 2023-04-21 12:22:12 -03:00
Robert Wilkins III
9274cb9ae0 check and create VPC and subnet 2023-04-21 12:22:12 -03:00