Package: venture-ai
Venture ✨ 🧑‍🚀 ✨🚀 Your AI-powered project explorationVenturelet's you to explore and ask questions to your project documentations.For latest PyPI stable releasepipinstallventure-ai🛰️ Mission ControlVenturesets out to be a devoted companion for developers and other team members in an organization.It serves as an assistant to assist with diverse inquiries concerning projects, protocols, conventions, and any documented details.This tool promotes seamless sharing and retrieval of knowledge, fostering teamwork, problem-solving, and collaboration within teams.Just like a cosmic entity,Ventureharnesses the power of OpenAI's ChatGPT to embark on this journey.fromventureimportVentureif__name__=='__main__':v=Venture(openai_api_key='sk-...',# OBTAINED FROM https://platform.openai.com/account/api-keyscaptain_email='captain@spaceship.com',# THE DEFAULT CONTACT IN INTERLINK TABextra_role='You are an AI assistant for Venture Company.',# ANY INFO ABOUT YOUR SPECIFIC USE CASEcosmos_path='/Users/captain/Documents/MyVenture/',# Optional, THE PATH TO STORE THE PARSED DOCUMENTS AND INTERNAL INDEXINGshare=False)# FOR SHARING THE APP LINK OUTSIDE YOUR LOCAL NETWORKv.launch()After initiating the launch,Venture, powered by Gradio, will generate a cosmic link that enables you to activate the application.Effortlessly navigate to the bestowed link amidst the vastness of your web browser's galaxy.RunningonlocalURL:http://127.0.0.1:7860Withshare=True, you will receive a cosmic link that grants you access to a public space where you can share your project beyond your local network.Keep in mind that the mentioned expiration time may vary like distant stars in the galaxy.RunningonpublicURL:https://3c10d1b4393cd966cd.gradio.liveThissharelinkexpiresin72hours.💫 A Cosmic JourneyIn the celestial realm of the web app,Ventureunveils its enchanting interface.Prepare to embark on a cosmic journey through its three celestial tabs, each designed to guide you through the depths of your project documentation and beyond.🧑‍🚀 Explore Tab: Unveil the Secrets of the CosmosThis ethereal tab serves as your portal to the wonders of project documentation.In it,Ventureeagerly awaits your inquiries and questions.Discover the vast knowledge it holds or let its "Auto-Pilot" feature autonomously guide you to the precise documentation you seek.🌟 Cosmos Tab: Forge New Stars in the GalaxyIn this celestial workshop, you possess the power to shape the very fabric of your cosmos.Add new constellations of knowledge to the cosmic expanse or remove existing ones as you navigate through the possibilities of your documentation universe.📡 Interlink Tab: Communication Across the StarsThis celestial conduit bridges the gap between you and the support team, ensuring seamless communication amidst the cosmic expanse.Should you encounter enigmatic anomalies or deem a documentation update necessary, harness the power of the Interlink Tab to connect with the support team, who will guide you through the celestial seas of knowledge.🔍 Reasoning Based SearchWhen using 'Auto-Pilot' mode in 📌 Cosmos,Ventureperforms a document search.Its goal is to find the most suitable document for the user's query.Instead of relying on traditional search techniques,Ventureemploys a novel approach.For each document added to theCosmos, metadata such as file name, summary, and owner is extracted.Venture then utilizes the 'function call' feature of ChatGPT to generate dynamic functions based on this metadata.By leveraging the reasoning capabilities of ChatGPT,Ventureperforms a ChatGPT 'function call' with all the docs metadata.🛑 Limitations:WhileVenturepresents a powerful tool for document navigation and search, its current iteration has a few limitations, particularly related to the volume of documents it can effectively handle.In its present version, Reasoning Based Search inVenturecan effectively support only up to approximately 300 documents.A ChatGPT function call for this search method will be triggered for every ~70 documents.We're investing our efforts in creating the next version ofVenture, which will considerably expand the tool's capabilities to handle search across thousands of documents effectively.If you're dealing with a greater volume of documents, we recommend segmenting them and creating multiple instances ofVenturewhere each instance caters to a specific subset of your documents.🤔 Why no embeddings?While embeddings are amazing, they also carry certain inherent limitations that influenced our decision not to implement them inVenture.Limited context for short texts:Embeddings Based Search can struggle with short texts due to the lack of context, leading to potential inaccuracies in the search results.Noisiness for long texts:conversely, long texts can introduce too much noise in the embeddings, again resulting in less precise matches.Challenges with Antonyms:Embeddings often conflate words with opposite meanings, like "good" and "bad", that appear in similar contexts, incorrectly positioning them close together in the vector space.Lack of indication for no relevant results:one major drawback of Embeddings Based Search methods (like cosine or p2 distance) is their inability to signal when no relevant results are found.Though certain techniques like thresholds and metadata enhancements can somewhat ameliorate this issue, the problem remains.Our (humble) research has led us to the conclusion that a Reasoning Based Search, underpinned by a robust language model like ChatGPT, is more accurate, bypassing the issues raised above.However, it's important to note that despite its increased accuracy, Reasoning Based Search is much slower than Embeddings Based Search and is not (yet) scalable to thousands of documents in its current form.⚡️ Cosmic ResponsibilityYou hold the cosmic responsibility for your interactions withVenture, just as you hold the responsibility for handling any powerful tool.Sharing any content generated byVentureis equivalent to sharing it on your own behalf.It is important to note that documents containing sensitive information should be avoided as they will be parsed by ChatGPT.Exercise caution and ensure that you only include non-sensitive and appropriate content in the documents used withVenture.📡 Caught in an interstellar void? Transmit an inquiry!If you feel that there's something amiss in our celestial realm, we encourage you to reach out. You have a couple of options to connect with us:Open an Issue: If you come across any anomalies or have suggestions for improvements, you can open an issue.Our team will promptly address it and ensure the cosmic balance is restored.Email us: Feel free to send us an email attorch.lpd@gmail.com.We welcome your thoughts, ideas, and any other cosmic communication you wish to share with us.Together, we can enhanceVentureand embark on an even more remarkable cosmic journey!🔭 Stellar Visuals, Unveiling the InterfaceBehold these mesmerizing cosmic captures, offering a tantalizing preview of the celestial user interface.The version depicted here may exhibit slight variations from the released solutions, akin to the ever-shifting starry night-sky.🧑‍🚀 Explore Tab🌟 Cosmos Tab📡 Interlink Tab