{"id":26516433,"url":"https://github.com/wellflat/generativeai-dev","last_synced_at":"2026-05-11T03:37:18.580Z","repository":{"id":262609659,"uuid":"881813900","full_name":"wellflat/generativeai-dev","owner":"wellflat","description":"Generative AI development","archived":false,"fork":false,"pushed_at":"2025-03-17T10:10:44.000Z","size":984,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T11:27:31.868Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wellflat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-01T09:40:59.000Z","updated_at":"2025-03-17T10:10:47.000Z","dependencies_parsed_at":"2024-11-13T11:18:11.464Z","dependency_job_id":"36a1b4b4-4403-4744-a5bc-497925448e05","html_url":"https://github.com/wellflat/generativeai-dev","commit_stats":null,"previous_names":["wellflat/generativeai-dev"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellflat%2Fgenerativeai-dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellflat%2Fgenerativeai-dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellflat%2Fgenerativeai-dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellflat%2Fgenerativeai-dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wellflat","download_url":"https://codeload.github.com/wellflat/generativeai-dev/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244752348,"owners_count":20504256,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-21T07:17:56.329Z","updated_at":"2026-05-11T03:37:18.576Z","avatar_url":"https://github.com/wellflat.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# generativeai-dev\n\nThis repository contains a collection of examples for building conversational AI and LLM-powered applications using [Chainlit](https://docs.chainlit.io).\n\n## 🚀 Overview\n\nThis project provides several sample scripts demonstrating how to integrate Chainlit with various powerful tools from the LLM ecosystem. The examples include:\n\n*   A basic chat interface with an LLM.\n*   An advanced agent-like application using **[LangGraph](https://langchain-ai.github.io/langgraph/)** to create stateful, multi-step chains.\n*   An integration with **[Ollama](https://ollama.com/)** to run and interact with open-source LLMs locally on your machine.\n\n## ✨ Features\n\n*   Interactive chat interface powered by Chainlit.\n*   Examples of building stateful agents with **LangGraph**.\n*   Demonstration of using local LLMs via **Ollama**.\n\n## 📋 Requirements\n\n*   Python 3.8+\n*   Chainlit\n*   LangChain (`langchain`, `langchain-openai`, etc.)\n*   LangGraph (`langgraph`)\n*   Ollama (`ollama`)\n\nFor local model usage, you also need to have the Ollama application installed and the desired models pulled (e.g., `ollama pull llama3`).\n\n## 📦 Installation\n\nThis project uses [uv](https://github.com/astral-sh/uv) for fast Python package management. If you don't have it installed, follow the instructions on their website.\n\n1.  Clone the repository:\n    ```bash\n    git clone https://github.com/tanaka-r/generativeai-dev.git\n    cd generativeai-dev\n    ```\n\n2.  Create a virtual environment and install the dependencies from `pyproject.toml` using `uv`:\n    ```bash\n    # Create and activate a virtual environment\n    uv venv\n    source .venv/bin/activate\n\n    # Install dependencies defined in pyproject.toml\n    uv pip install -e .\n    ```\n\n## ▶️ Running the Examples\n\nTo run a specific example, use the `chainlit run` command followed by the path to the script. The `-w` flag enables auto-reloading when you make changes to the code.\n\n```bash\n# Example for a generic app\nchainlit run app/chainlit_app.py -w\n\n```\n\n*(Replace `app.py` with the name of your main Python script if it's different.)*\n\nThen, open your web browser and navigate to `http://localhost:8000`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwellflat%2Fgenerativeai-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwellflat%2Fgenerativeai-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwellflat%2Fgenerativeai-dev/lists"}