langchain-ai / langchainjs

🦜🔗 Build context-aware reasoning applications 🦜🔗
https://js.langchain.com/docs/
MIT License
12.32k stars 2.08k forks source link

JS/TS vs python comparsion page #2111

Closed aDingil closed 7 months ago

aDingil commented 1 year ago

Hey,

thx for your awesome awesome work. Is it possible to generate some sort of comparison between the two implementations. It´s very hard (in the beginning) to assess this.

aDingil commented 1 year ago

Also which implementation has a larger importance to you

jacoblee93 commented 1 year ago

Yes would love to have this!

At a high level we want all the major abstractions and modules to be in both versions. We expect individual integrations to vary and be more language specific.

niron1 commented 1 year ago

The JS version is way less maintained than its python counterpart. I've produced a list of the tools provided in either version, and the python version's list is almost double in size:

JS version tools:

IFTTTWebhook aiplugin aws_lambda aws_sfn base bingserpapi brave_search calculator chain convert_to_openai dadjokeapi dataforseo_api_search dynamic fs google_custom_search index json requests searxng_search serpapi serper sql vectorstore webbrowser wikipedia_query_run zapier

Python version tools:

amadeus arxiv azure_cognitive_services bing_search brave_search dataforseo_api_search ddg_search file_management github gmail golden_query google_places google_search google_serper graphql human interaction jira json metaphor_search multion nuclia office365 openapi openweathermap playwright powerbi pubmed python requests scenexplain searx_search shell sleep spark_sql sql_database steamship_image_generation vectorstore wikipedia wolfram_alpha youtube zapier

niron1 commented 1 year ago

JS version document loaders: apify_dataset azure_blob_storage_container azure_blob_storage_file buffer cheerio college_confidential confluence csv directory docx epub figma gitbook github hn imsdb json notion notionapi notiondb pdf playwright puppeteer s3 serpapi sonix_audio sort_xyz_blockchain srt text unstructured

Python version document loaders: acreom airbyte_json airtable apify_dataset arxiv async_html azlyrics azure_blob_storage_container azure_blob_storage_file base bibtex bigquery bilibili blackboard blockchain brave_search browserless chatgpt college_confidential concurrent confluence conllu csv_loader cube_semantic datadog_logs dataframe diffbot directory discord docugami dropbox duckdb_loader email embaas epub etherscan evernote excel facebook_chat fauna figma file_system gcs_directory gcs_file generic geodataframe git gitbook github googledrive gutenberg helpers hn html html_bs hugging_face_dataset ifixit image image_captions imsdb iugu joplin json_loader larksuite markdown mastodon max_compute mediawikidump merge mhtml modern_treasury news notebook notion notiondb nuclia obs_directory obs_file obsidian odt onedrive onedrive_file open_city_data org_mode pdf powerpoint psychic pyspark_dataframe python readthedocs recursive_url_loader reddit roam rocksetdb rss rst rtf s3_directory s3_file schema sitemap slack_directory snowflake_loader spreedly srt stripe telegram tencent_cos_directory tencent_cos_file text tomarkdown toml trello tsv twitter unstructured url url_playwright url_selenium weather web_base whatsapp_chat wikipedia word_document xml xorbits youtube youtube_audio

dosubot[bot] commented 10 months ago

Hi, @aDingil! I'm Dosu, and I'm helping the langchainjs team manage their backlog. I wanted to let you know that we are marking this issue as stale.

From what I understand, you opened this issue requesting a comparison page between JavaScript/TypeScript and Python implementations. You mentioned that you find it difficult to assess the differences between the two and would like a resource to help you understand. Jacoblee93 also expressed interest in having this comparison page and mentioned that they want all major abstractions and modules to be in both versions. Niron1 provided a detailed list of tools provided in each version, highlighting that the Python version has almost double the number of tools compared to the JavaScript version.

Before we close this issue, we wanted to check if it is still relevant to the latest version of the langchainjs repository. If it is, please let us know by commenting on the issue. Otherwise, feel free to close the issue yourself or it will be automatically closed in 7 days.

Thank you for your contribution to langchainjs!

aDingil commented 10 months ago

It would be very useful, maybe i will create it myself

dosubot[bot] commented 10 months ago

@jacoblee93 Could you please help @aDingil with this issue? They are interested in having a comparison page between JavaScript/TypeScript and Python implementations in the langchainjs repository. They find it difficult to assess the differences between the two and would like a resource to help them understand. Thank you!

dosubot[bot] commented 7 months ago

Hi, @aDingil,

I'm helping the langchainjs team manage their backlog and am marking this issue as stale. From what I understand, you requested a comparison page between JavaScript/TypeScript and Python implementations in the langchainjs repository. There was some discussion with Jacoblee93 and Niron1 providing input on the comparison, and you expressed interest in creating the comparison page yourself. Dosubot from the langchainjs team marked the issue as stale and requested input from you to confirm its relevance.

Could you please let us know if this issue is still relevant to the latest version of the langchainjs repository? If it is, please feel free to provide an update or any additional information. Otherwise, you are welcome to close the issue yourself, or it will be automatically closed in 7 days.

Thank you for your understanding and cooperation.