Skip to content

Practicum environment and application blueprint for GenAI Training

Notifications You must be signed in to change notification settings

tcaminel-pro/genai-training

Repository files navigation

genai-training

Practicum environment and application blueprint for GenAI Training

Pre-requisite

  • You should have API keys you plan to use in environment variable.
    ex:
    export EDENAI_API_KEY='eyJhbGc.....'
    export AZURE_OPENAI_API_KEY="18f5ac....'
    

Install

  • Create environment and update
    poetry shell  
    poetry update
    export PYTHONPATH=":./python"
    
  • edit app_conf.yaml
    • Change default llm and embeddings model if needed
  • Tests:
    • Test with CLI:

      python python/main_cli.py run "joke" 
      
    • Test with Streamlit webapp

      make webapp
      

      select "Runnable Playground", then "joke"

    • Test with FastAPI

      make fast_api
      

      enter http://127.0.0.1:8000/docs

    • Test with LangServe : TODO

About

Practicum environment and application blueprint for GenAI Training

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published