Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add model setting completion params for Image2Text prompt schema #875

Merged
merged 1 commit into from
Jan 11, 2024

Commits on Jan 11, 2024

  1. Add model setting completion params for Image2Text prompt schema

    TSIA, pretty simple actually
    
    ## Test Plan
    Follow the README from AIConfig Editor https://github.com/lastmile-ai/aiconfig/tree/main/python/src/aiconfig/editor#dev, then run these commands:
    
    Make sure also that you don't have the `python-aiconfig-test` installed: `pip3 uninstall python-aiconfig-test`
    
    ```bash
    aiconfig_path=/Users/rossdancraig/Projects/aiconfig/cookbooks/Gradio/huggingface.aiconfig.json
    parsers_path=/Users/rossdancraig/Projects/aiconfig/cookbooks/Gradio/hf_model_parsers.py
    alias aiconfig="python3 -m 'aiconfig.scripts.aiconfig_cli'"
    aiconfig edit --aiconfig-path=$aiconfig_path --server-port=8080 --server-mode=debug_servers --parsers-module-path=$parsers_path
    ```
    
    <img width="1261" alt="Screenshot 2024-01-11 at 01 21 21" src="https://github.com/lastmile-ai/aiconfig/assets/151060367/63ef4830-1163-4229-90ea-d49b914d1ec2">
    Rossdan Craig [email protected] committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    cdbd431 View commit details
    Browse the repository at this point in the history