Giter VIP home page Giter VIP logo

factsheet-generator's People

Watchers

 avatar  avatar

Forkers

shivaram

factsheet-generator's Issues

[Bug] Ollama timeout

Ollama seems to stop at 1 minute timeout if the prompt is too long. Need a longer timeout threshold setting.

[Suggestion] Focusing on text to triplet extraction

In order to align with Devesh's approach to graph extraction. We should focus on extracting relationship triplet (or a list of triplets). Relationship triplet is defines as: (entity1, relationship, entity2). Can Bill prototype a function that uses llm.model_of_your_choice to takes a chunk of text, and output a list of relationship triplets?

[feature] Support Mixtral via COSMOS1

I have a Mixtral 8x7b running on server COSMOS0001. I had made an account for you with the username bill (I will send you the password on slack). Currently, Mixtral is the top open source model in terms of performance relative to its size. Here's a code snippet for using it. Please integrate this API route to your backend system:llms. This will give us an additional option down the line...

def ask_mixtral(messages: list[dict]) -> dict:
    """Ask mixtral with a data package.

    Example input: [{"role": "user", "content": "Hello world example in python."}]
    """
    url = "http://cosmos0001.chtc.wisc.edu:11434/api/chat"
    user = "bill"
    password = os.getenv("MIXTRAL_PASSWORD")
    data = {
        "model": "mixtral",
        "messages": messages,
        "stream": False,  # set to True to get a stream of responses token-by-token
    }
    # Non-streaming mode
    response = requests.post(url, auth=requests.auth.HTTPBasicAuth(user, password), json=data)
    response.raise_for_status()
    return response.json()["message"]["content"]

additional docs: https://github.com/ollama/ollama/blob/main/docs/api.md#generate-a-chat-completion

[Clarifications] Merge RAG database or keep it separate?

@bxia68
@shivaram
@iross
@cambro
@davenquinn

In Bill's setup, the initial section mirrors our primary ask-xdd deployment, essentially being a retriever. It appears more efficient to merge these two. This would allow Bill to utilize the hybrid retrieval endpoint, avoiding the need to manage a separate retrieval system. His efforts could then be concentrated on the 'extract factsheet/graph from text' component.

This leads to inquiries regarding the data source for the 'factsheet-generator'. If it's specifically sourced from an xdd dataset, I propose integrating this data into ask-xdd.

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.