Giter VIP home page Giter VIP logo

Comments (10)

madtank avatar madtank commented on July 19, 2024

I've made some improvements to the skill based on the feedback received. Thank you for your valuable input!

To ensure the skill works seamlessly for your specific use case, please make sure to update the path to the index folder in the configuration section before adding the skill to your project. Here's the relevant snippet for clarity:

# Configuration - Users/AI skill developers must update this path to their specific index folder
# To test with sample data set index_folder to "knowledge"
CONFIG = {
    "index_folder": "path/to/your/knowledge/directory",  # TODO: Update this path before using
}

This small but crucial step will ensure the skill can access your index correctly and function as intended. If you're testing with sample data, you can simply set index_folder to "knowledge" to get started.

Thanks again for your support and feedback. It's greatly appreciated and helps make the skill better for everyone!

from autogenstudio-skills.

fil512 avatar fil512 commented on July 19, 2024

there was already a place in the code to edit the path and the README.md had instructions on how to set it

from autogenstudio-skills.

fil512 avatar fil512 commented on July 19, 2024

Issue I have now is it errors out when calling the RAG with this error:

 File "C:\Users\xyzzy\miniconda3\envs\ag\Lib\site-packages\httpx\_transports\default.py", line 84, in map_httpcore_exceptions
    raise mapped_exc(message) from exc
httpx.UnsupportedProtocol: Request URL is missing an 'http://' or 'https://' protocol.

from autogenstudio-skills.

fil512 avatar fil512 commented on July 19, 2024

The gist of my question is what is the config for a minimal configuration of this in autogen studio. I assume 1 skill that contains the contents of document_retriever.py. But what about Agents and Workflows? Two Agents or Group Chat? Simple instructions for minimal setup for working example in RAG would be super helpful!

from autogenstudio-skills.

madtank avatar madtank commented on July 19, 2024

Thanks for the details. I've configured "Two Agent workflow" one agent specifically for testing this skill, setting it up to use the document retriever skill exclusively. It's clear that the primary issue we've encountered revolves around specifying the correct knowledge path. If it's not provided correctly in the prompt, that seems to lead to errors, which might be similar to what you're experiencing. Hopefully, this addresses your question.

from autogenstudio-skills.

micuentadecasa avatar micuentadecasa commented on July 19, 2024

hi @madtank , as @fil512 suggested, we would need some instructions to make it work, maybe a video tutorial is the best option, have you walked all this long journey to not ending it well? :)

from autogenstudio-skills.

madtank avatar madtank commented on July 19, 2024

@micuentadecasa wondering what part you are stuck on? I did update the README and got @fil512 working fine. There is a video posted in the autogen discord channel.

from autogenstudio-skills.

micuentadecasa avatar micuentadecasa commented on July 19, 2024

thanks @madtank , I will check the discord channel.

from autogenstudio-skills.

madtank avatar madtank commented on July 19, 2024

@micuentadecasa cool. Let me know if I can help. I remember on Windows it needs the path to escape backslash, so it requires two like C:\rag\knowledge.

from autogenstudio-skills.

micuentadecasa avatar micuentadecasa commented on July 19, 2024

Many thanks @madtank for your support.

Regards.

from autogenstudio-skills.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.