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.47k stars 1.25k forks source link

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

Closed anushaharish538 closed 3 months ago

anushaharish538 commented 3 months ago

Please tell me how to summarise local document using local API

pseudotensor commented 3 months 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 3 months 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 3 months ago

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