Skip to main content

No project description provided

Project description

GPT-Verse 🎩 -- Library under construction

Scrapegraph-ai Logo

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:

# 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:

    # 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 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpt_verse-0.1.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gpt_verse-0.1.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file gpt_verse-0.1.0.tar.gz.

File metadata

  • Download URL: gpt_verse-0.1.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Windows/11

File hashes

Hashes for gpt_verse-0.1.0.tar.gz
Algorithm Hash digest
SHA256 96e3d4fef1ba3ebb545457258daa6596f986e9ca333d03b43c8a51e9782d7344
MD5 ca929958d182819ad2eca73fc48e6826
BLAKE2b-256 acb35b0e416195bf6da7c99465165016d760b1b9e2ed4ddc5f553cb9db567d2e

See more details on using hashes here.

File details

Details for the file gpt_verse-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: gpt_verse-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Windows/11

File hashes

Hashes for gpt_verse-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5aa4e4c16f841a79fed8e56b54e1c2444532fdb51dbfce7827872cef880d68b7
MD5 273689286ac531c0538e7451f197d7e5
BLAKE2b-256 29c67ca57f295b4af5a089246b71ab34f7431ee55900c67cef3151fdfc4a4d05

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page