gpt-verse


Namegpt-verse JSON
Version 0.1.0 PyPI version JSON
download
home_pageNone
SummaryNone
upload_time2024-05-05 17:50:40
maintainerNone
docs_urlNone
authorValerio Domenici
requires_python<4.0,>=3.12
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # GPT-Verse 🎩 -- Library under construction

<p align="center">
  <img src="images\logo\GPT-verse.png" alt="Scrapegraph-ai Logo" style="width: 35%;">
</p>

The GPT-Verse library, is an innovative Python package designed for developers and enthusiasts working in the realm of natural language processing and generative pre-trained transformer models. With its dependency specified for Python 3.12, GPT-Verse ensures compatibility with the latest features and improvements of the Python programming language, ensuring users can leverage the most current language benefits.


## 💪 Features

- Language Generation: The GPT model excels at generating coherent and contextually relevant text based on input prompts. Users can expect GPT-Verse to provide APIs that allow them to generate text for a variety of applications, ranging from automated content creation to chatbots.

- Fine-tuning on Custom Datasets: A critical feature of GPT models is their ability to be fine-tuned on specific datasets. This allows the model to perform well on niche tasks or understand specific domains much better. GPT-Verse is likely to offer facilities to enable this fine-tuning, making it versatile for specialized applications.

- Language Understanding: Beyond generating text, GPT models are capable of understanding and parsing input text to perform tasks like sentiment analysis, summarization, and question answering. GPT-Verse may include functionalities that harness this capability, offering users tools for extracting insights from text or improving interaction with machine learning systems.

- Integration Ready: Given the nature of such libraries, GPT-Verse might be designed with integration in mind, facilitating its use alongside other Python libraries and frameworks in larger applications or systems.

## 💻 Installation

GPT-Verse requires Python 3.12 or later. It is recommended to use a virtual environment to manage the project dependencies.

To install GPT-Verse and its dependencies, follow these steps:

```bash
# Install the library from pipy
pip install gpt_verse==<last-code-version>
```

## ⚒️ Usage

1. **Use Langchain Agents as Tool**

   To start indexing your documents, you need to prepare your documents in the supported formats (PDF, PPTX, XLSX, web pages, YouTube videos).

   Example for indexing PDFs:

   ```python
   # Initialize your embeddings model
   from langchain_openai import ChatOpenAI
   from langchain_community.tools.tavily_search import TavilySearchResults
   from gpt_verse.personas import SecondPersona, FirstPersona

   llm = ChatOpenAI(
      model="gpt-4-turbo",
      max_tokens=4096 
      )

   tavily_tool = TavilySearchResults()

   # Define the second agent (it will be the contact-center)
   agent = FirstPersona(
      llm=llm,
      tools=[TavilySearchResults()],
      prompt="Help me with my task"
   )

   seconda_persona = SecondPersona(
      agent=agent.as_executor(),
      name="Mario",
      scope="search a job online",
      instructions="give detailed instruction"  # instruction will be given from the prima persona to the second persona
   )

   # Define the first agent (it will be the one to pass you to the contact-center agent)
   prima_persona = FirstPersona(
      llm=llm,
      tools=[seconda_persona.as_tool()],
      prompt="Help me with my task" # main scope of the agent
   )

   result = prima_persona.as_executor().invoke({"input": "can u help me find a job in python coding?"})
   ```

## 🤝 Contributing

Contributions are welcome! Feel free to open an issue or pull request if you have suggestions or improvements.

## 📜 License

Miner AI Beta is licensed under the MIT License. See the [MIT](LICENSE) file for more information.

## Acknowledgements

- We would like to thank all the contributors to the project and the open-source community for their support.
- GPT-Verse is meant to be used for ai data mining over documents and research purposes only. We are not responsible for any misuse of the library.
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "gpt-verse",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.12",
    "maintainer_email": null,
    "keywords": null,
    "author": "Valerio Domenici",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/ac/b3/5b0e416195bf6da7c99465165016d760b1b9e2ed4ddc5f553cb9db567d2e/gpt_verse-0.1.0.tar.gz",
    "platform": null,
    "description": "# GPT-Verse \ud83c\udfa9 -- Library under construction\n\n<p align=\"center\">\n  <img src=\"images\\logo\\GPT-verse.png\" alt=\"Scrapegraph-ai Logo\" style=\"width: 35%;\">\n</p>\n\nThe GPT-Verse library, is an innovative Python package designed for developers and enthusiasts working in the realm of natural language processing and generative pre-trained transformer models. With its dependency specified for Python 3.12, GPT-Verse ensures compatibility with the latest features and improvements of the Python programming language, ensuring users can leverage the most current language benefits.\n\n\n## \ud83d\udcaa Features\n\n- Language Generation: The GPT model excels at generating coherent and contextually relevant text based on input prompts. Users can expect GPT-Verse to provide APIs that allow them to generate text for a variety of applications, ranging from automated content creation to chatbots.\n\n- Fine-tuning on Custom Datasets: A critical feature of GPT models is their ability to be fine-tuned on specific datasets. This allows the model to perform well on niche tasks or understand specific domains much better. GPT-Verse is likely to offer facilities to enable this fine-tuning, making it versatile for specialized applications.\n\n- Language Understanding: Beyond generating text, GPT models are capable of understanding and parsing input text to perform tasks like sentiment analysis, summarization, and question answering. GPT-Verse may include functionalities that harness this capability, offering users tools for extracting insights from text or improving interaction with machine learning systems.\n\n- Integration Ready: Given the nature of such libraries, GPT-Verse might be designed with integration in mind, facilitating its use alongside other Python libraries and frameworks in larger applications or systems.\n\n## \ud83d\udcbb Installation\n\nGPT-Verse requires Python 3.12 or later. It is recommended to use a virtual environment to manage the project dependencies.\n\nTo install GPT-Verse and its dependencies, follow these steps:\n\n```bash\n# Install the library from pipy\npip install gpt_verse==<last-code-version>\n```\n\n## \u2692\ufe0f Usage\n\n1. **Use Langchain Agents as Tool**\n\n   To start indexing your documents, you need to prepare your documents in the supported formats (PDF, PPTX, XLSX, web pages, YouTube videos).\n\n   Example for indexing PDFs:\n\n   ```python\n   # Initialize your embeddings model\n   from langchain_openai import ChatOpenAI\n   from langchain_community.tools.tavily_search import TavilySearchResults\n   from gpt_verse.personas import SecondPersona, FirstPersona\n\n   llm = ChatOpenAI(\n      model=\"gpt-4-turbo\",\n      max_tokens=4096 \n      )\n\n   tavily_tool = TavilySearchResults()\n\n   # Define the second agent (it will be the contact-center)\n   agent = FirstPersona(\n      llm=llm,\n      tools=[TavilySearchResults()],\n      prompt=\"Help me with my task\"\n   )\n\n   seconda_persona = SecondPersona(\n      agent=agent.as_executor(),\n      name=\"Mario\",\n      scope=\"search a job online\",\n      instructions=\"give detailed instruction\"  # instruction will be given from the prima persona to the second persona\n   )\n\n   # Define the first agent (it will be the one to pass you to the contact-center agent)\n   prima_persona = FirstPersona(\n      llm=llm,\n      tools=[seconda_persona.as_tool()],\n      prompt=\"Help me with my task\" # main scope of the agent\n   )\n\n   result = prima_persona.as_executor().invoke({\"input\": \"can u help me find a job in python coding?\"})\n   ```\n\n## \ud83e\udd1d Contributing\n\nContributions are welcome! Feel free to open an issue or pull request if you have suggestions or improvements.\n\n## \ud83d\udcdc License\n\nMiner AI Beta is licensed under the MIT License. See the [MIT](LICENSE) file for more information.\n\n## Acknowledgements\n\n- We would like to thank all the contributors to the project and the open-source community for their support.\n- GPT-Verse is meant to be used for ai data mining over documents and research purposes only. We are not responsible for any misuse of the library.",
    "bugtrack_url": null,
    "license": null,
    "summary": null,
    "version": "0.1.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "29c67ca57f295b4af5a089246b71ab34f7431ee55900c67cef3151fdfc4a4d05",
                "md5": "273689286ac531c0538e7451f197d7e5",
                "sha256": "5aa4e4c16f841a79fed8e56b54e1c2444532fdb51dbfce7827872cef880d68b7"
            },
            "downloads": -1,
            "filename": "gpt_verse-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "273689286ac531c0538e7451f197d7e5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.12",
            "size": 8307,
            "upload_time": "2024-05-05T17:50:39",
            "upload_time_iso_8601": "2024-05-05T17:50:39.252636Z",
            "url": "https://files.pythonhosted.org/packages/29/c6/7ca57f295b4af5a089246b71ab34f7431ee55900c67cef3151fdfc4a4d05/gpt_verse-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "acb35b0e416195bf6da7c99465165016d760b1b9e2ed4ddc5f553cb9db567d2e",
                "md5": "ca929958d182819ad2eca73fc48e6826",
                "sha256": "96e3d4fef1ba3ebb545457258daa6596f986e9ca333d03b43c8a51e9782d7344"
            },
            "downloads": -1,
            "filename": "gpt_verse-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "ca929958d182819ad2eca73fc48e6826",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.12",
            "size": 9480,
            "upload_time": "2024-05-05T17:50:40",
            "upload_time_iso_8601": "2024-05-05T17:50:40.952580Z",
            "url": "https://files.pythonhosted.org/packages/ac/b3/5b0e416195bf6da7c99465165016d760b1b9e2ed4ddc5f553cb9db567d2e/gpt_verse-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-05 17:50:40",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "gpt-verse"
}
        
Elapsed time: 0.51708s