h2oai / h2ogpt

Private chat with local GPT with document, images, video, etc. 100% private, Apache 2.0. Supports oLLaMa, Mixtral, llama.cpp, and more. Demo: https://gpt.h2o.ai/ https://gpt-docs.h2o.ai/
http://h2o.ai
Apache License 2.0
11.28k stars 1.24k forks source link

Please tell me how to summarise local document using local API #1809

Closed anushaharish538 closed 1 month ago

anushaharish538 commented 1 month ago

Please tell me how to summarise local document using local API

pseudotensor commented 1 month ago

Check out the client code for the tests in tests/test_client_calls.py::test_client_summarization_from_url or test_client_summarization_from_text

It's very simple.

anushaharish538 commented 1 month ago

This is for urls correct ?. tests/test_client_calls.py::test_client_summarization_from_url or test_client_summarization_from_text. I need for document summarisation.

Regards, Anusha Harish

pseudotensor commented 1 month ago

There are 3 test codes, the other one is test_client_summarization that takes files like PDFs. Is that what you want?