Examples
========

This section contains practical examples demonstrating how to use Lexilux.

All examples are located in the ``examples/`` directory and can be run directly:

.. code-block:: bash

   python examples/basic_chat.py
   python examples/chat_streaming.py
   python examples/embedding_demo.py
   python examples/rerank_demo.py
   python examples/tokenizer_demo.py

For real API testing with actual endpoints, see ``examples/real_api_test.py``.

.. toctree::
   :maxdepth: 1

   basic_chat
   chat_streaming
   embedding
   rerank
   tokenizer
