hand-e-fr / OpenHosta

A lightweight library integrating LLM natively into Python
MIT License
16 stars 1 forks source link
ai chatgpt gpt llm llms open-source pinned python

OpenHosta

v2.1.1 - Open-Source Project

- The future of development is human -

Welcome to the OpenHosta documentation, a powerful tool that facilitates the integration LLM in the development environnement. OpenHosta is used to emulate functions using AI, while respecting Python's native paradygma and syntax.

For this project, we have adopted a Code of Conduct to ensure a respectful and inclusive environment for all contributors. Please take a moment to read it.

Table of Content


How to install OpenHosta ?

You can install OpenHosta either via pip or via GitHub.

pip install OpenHosta

or

git clone https://github.com/hand-e-fr/OpenHosta.git

See the full installation guide here

Example

from OpenHosta import emulate, config

config.set_default_apiKey("put-your-api-key-here")

def translate(text:str, language:str)->str:
    """
    This function translates the text in the “text” parameter into the language specified in the “language” parameter.
    """
    return emulate()

result = translate("Hello World!", "French")
print(result)

You check OpenHosta's documentation for more detailled informations or exemple

Further information

Contributing

We warmly welcome contributions from the community. Whether you are an experienced developer or a beginner, your contributions are welcome.

If you wish to contribute to this project, please refer to our Contribution Guide and our Code of Conduct.

Browse the existing issues to see if someone is already working on what you have in mind or to find contribution ideas.

License

This project is licensed under the MIT License. This means you are free to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the software, subject to the following conditions:

See the LICENSE file for more details.

Authors & Contact

For further questions or assistance, please refer to partner hand-e or contact us directly via github.

Authors:

GitHub: https://github.com/hand-e-fr/OpenHosta


Thank you for your interest in our project and your potential contributions!

The OpenHosta Team