txtai_ex
is an Elixir client library for txtai, an AI-powered text search engine that enables building intelligent text-based applications in Elixir. With txtai_ex
, you can seamlessly integrate natural language processing, embeddings search, and machine learning workflows into your Elixir projects.
- Embeddings Search: Perform semantic search operations to find the most relevant pieces of text that match a query.
- Text Summarization: Automatically summarize long pieces of text.
- Text Translation: Translate text from one language to another.
- Text Extraction: Extract text from various file formats.
- Workflow Automation: Execute named workflows to process data.
To start using txtai_ex
, add it to your list of dependencies in mix.exs
:
def deps do
[
{:txtai_ex, "~> 0.1.0"}
]
end
Then, run mix deps.get
to fetch the new dependency.
Here's a quick example to get you started with txtai_ex
:
alias TxtaiEx.{Api, Embeddings}
# Initialize the API
api = Api.new("http://localhost:8000", "YourAPIToken")
# Perform an embeddings search
results = Embeddings.search(api, "Elixir", 5)
IO.inspect(results)
For detailed documentation on all features and functionalities, visit https://hexdocs.pm/txtai_ex/readme.html.
Contributions to txtai_ex
are welcome and appreciated. If you're interested in contributing, please:
- Fork the repository.
- Create a new branch for your feature or fix.
- Commit your changes.
- Push to your fork and submit a pull request.
Before contributing, please check out our contributing guidelines.
If you encounter any issues or have questions, please file an issue on the GitHub issue tracker.
txtai_ex
is released under the Apache 2.0 License. See the LICENSE file for more details.