summarization¶
Description¶
Note
More information about the service specification can be found in the Core concepts > Service documentation.
This service uses langchain and LLMs to create summaries of documents. The technique used for the summarization is the Map/reduce technique showed by langchain. Each document will be summarized individually (Mapping phase) and then all the summaries will be combined into a single summary (Reduce phase).
The LLMs used by this service are hosted by Ollama.
Environment variables¶
Check the Core concepts > Service > Environment variables documentation for more details.
Run the tests with Python¶
Check the Core concepts > Service > Run the tests with Python documentation for more details.
Start the service locally¶
Check the Core concepts > Service > Start the service locally documentation for more details.
Deploy ollama locally¶
add the following container to the stateful.yml
deployment file