langchain/libs/community/langchain_community
Max Mulatz 058a64c563
Community[minor]: Add language parser for Elixir (#22742)
Hi 👋 

First off, thanks a ton for your work on this 💚 Really appreciate what
you're providing here for the community.

## Description

This PR adds a basic language parser for the
[Elixir](https://elixir-lang.org/) programming language. The parser code
is based upon the approach outlined in
https://github.com/langchain-ai/langchain/pull/13318: it's using
`tree-sitter` under the hood and aligns with all the other `tree-sitter`
based parses added that PR.

The `CHUNK_QUERY` I'm using here is probably not the most sophisticated
one, but it worked for my application. It's a starting point to provide
"core" parsing support for Elixir in LangChain. It enables people to use
the language parser out in real world applications which may then lead
to further tweaking of the queries. I consider this PR just the ground
work.

- **Dependencies:** requires `tree-sitter` and `tree-sitter-languages`
from the extended dependencies
- **Twitter handle:**`@bitcrowd`

## Checklist

- [x] **PR title**: "package: description"
- [x] **Add tests and docs**
- [x] **Lint and test**: Run `make format`, `make lint` and `make test`
from the root of the package(s) you've modified.

<!-- If no one reviews your PR within a few days, please @-mention one
of baskaryan, efriis, eyurtsev, ccurme, vbarda, hwchase17. -->
2024-06-10 15:56:57 +00:00
..
adapters
agent_toolkits community[patch]: Fix remaining __inits__ in community (#22037) 2024-05-22 17:42:17 +00:00
agents community: update how OpenAIAssistantV2Runnable creates threads with tool_resources (#22549) 2024-06-05 14:19:41 -04:00
callbacks community[minor]: Add UpstashRatelimitHandler (#21885) 2024-06-07 21:02:06 +00:00
chains community[minor]: Enable retrieval api calls in PebbloRetrievalQA (#21958) 2024-06-04 10:18:50 -07:00
chat_loaders infra: rm unused # noqa violations (#22049) 2024-05-22 15:21:08 -07:00
chat_message_histories community[minor]: Add native async support to SQLChatMessageHistory (#22065) 2024-06-05 15:10:38 +00:00
chat_models community[minor]: Add tools calls to ChatEdenAI (#22320) 2024-06-04 10:29:28 -07:00
cross_encoders
docstore community[patch]: Fix remaining __inits__ in community (#22037) 2024-05-22 17:42:17 +00:00
document_compressors community[minor]: add DashScope Rerank (#22403) 2024-06-05 15:40:21 -07:00
document_loaders Community[minor]: Add language parser for Elixir (#22742) 2024-06-10 15:56:57 +00:00
document_transformers infra: rm unused # noqa violations (#22049) 2024-05-22 15:21:08 -07:00
embeddings community[patch]: add detailed paragraph and example for BaichuanTextEmbeddings (#22031) 2024-06-05 10:18:11 -04:00
example_selectors
graphs infra: rm unused # noqa violations (#22049) 2024-05-22 15:21:08 -07:00
indexes
llms [Community]add option to delete the prompt from HF output (#22225) 2024-06-05 18:38:54 -04:00
memory community[minor]: Add Zep Cloud components + docs + examples (#21671) 2024-05-27 12:50:13 -07:00
output_parsers infra: rm unused # noqa violations (#22049) 2024-05-22 15:21:08 -07:00
query_constructors
retrievers community[patch]:Support filter for AzureAISearchRetriever (#22303) 2024-06-05 16:53:19 -07:00
storage community[minor]: Add SQL storage implementation (#22207) 2024-06-07 21:17:02 +00:00
tools multiple: get rid of pyproject extras (#22581) 2024-06-06 15:45:22 -07:00
utilities docs: duckduckgosearch options listed (#22568) 2024-06-05 23:29:47 +00:00
utils community[patch]: Use Custom Logger Instead of Root Logger in get_user_agent Function (#22691) 2024-06-08 02:33:07 +00:00
vectorstores couchbase: Add the initial version of Couchbase partner package (#22087) 2024-06-07 14:04:08 -07:00
__init__.py
cache.py
py.typed