{"id":22808203,"url":"https://github.com/simonpierreboucher/llm_openai_notebook","last_synced_at":"2026-05-07T18:32:32.600Z","repository":{"id":262715734,"uuid":"888124549","full_name":"simonpierreboucher/llm_openai_notebook","owner":"simonpierreboucher","description":"This repository contains Jupyter notebooks to explore and utilize OpenAI's Large Language Models (LLMs) for various applications, including chatbots, retrieval-augmented generation, text generation, prompt engineering, and vector embedding. These notebooks provide a comprehensive toolkit for working with OpenAI models in diverse contexts.","archived":false,"fork":false,"pushed_at":"2024-11-14T19:43:27.000Z","size":44,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T12:30:01.973Z","etag":null,"topics":["chatbot","openai","openai-api","prompt-engineering","rag","retrieval-augmented-generation","text-generation"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/simonpierreboucher.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,"zenodo":null}},"created_at":"2024-11-13T21:22:46.000Z","updated_at":"2024-12-28T09:29:11.000Z","dependencies_parsed_at":"2024-11-15T05:01:00.932Z","dependency_job_id":null,"html_url":"https://github.com/simonpierreboucher/llm_openai_notebook","commit_stats":null,"previous_names":["simonpierreboucher/llm_openai_notebook"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simonpierreboucher/llm_openai_notebook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonpierreboucher%2Fllm_openai_notebook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonpierreboucher%2Fllm_openai_notebook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonpierreboucher%2Fllm_openai_notebook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonpierreboucher%2Fllm_openai_notebook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonpierreboucher","download_url":"https://codeload.github.com/simonpierreboucher/llm_openai_notebook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonpierreboucher%2Fllm_openai_notebook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32750529,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["chatbot","openai","openai-api","prompt-engineering","rag","retrieval-augmented-generation","text-generation"],"created_at":"2024-12-12T11:08:33.096Z","updated_at":"2026-05-07T18:32:32.583Z","avatar_url":"https://github.com/simonpierreboucher.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LLM OpenAI Notebook\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Python Version](https://img.shields.io/badge/python-3.7%2B-blue.svg)](https://www.python.org/downloads/)\n[![GitHub Issues](https://img.shields.io/github/issues/simonpierreboucher/llm-generate-function)](https://github.com/simonpierreboucher/llm-generate-function/issues)\n[![GitHub Forks](https://img.shields.io/github/forks/simonpierreboucher/llm-generate-function)](https://github.com/simonpierreboucher/llm-generate-function/network)\n[![GitHub Stars](https://img.shields.io/github/stars/simonpierreboucher/llm-generate-function)](https://github.com/simonpierreboucher/llm-generate-function/stargazers)\n\nThis repository contains Jupyter notebooks to explore and utilize OpenAI's Large Language Models (LLMs) for various applications, including chatbots, retrieval-augmented generation, text generation, prompt engineering, and vector embedding. These notebooks provide a comprehensive toolkit for working with OpenAI models in diverse contexts.\n\n## Repository Structure\n\n- **[OPENAI-CHAT.ipynb](https://github.com/simonpierreboucher/llm_openai_notebook/blob/main/OPENAI-CHAT.ipynb)**: Demonstrates the setup of a chatbot using OpenAI models, focusing on conversational interactions and response generation.\n- **[OPENAI-RAG.ipynb](https://github.com/simonpierreboucher/llm_openai_notebook/blob/main/OPENAI-RAG.ipynb)**: Implements Retrieval-Augmented Generation (RAG), combining retrieval of relevant data with OpenAI model responses for context-aware answers.\n- **[OPENAI-TEXTGEN.ipynb](https://github.com/simonpierreboucher/llm_openai_notebook/blob/main/OPENAI-TEXTGEN.ipynb)**: Focuses on text generation using OpenAI models, suitable for creative writing, content creation, and informative text outputs.\n- **[OPENAI_PROMPTING.ipynb](https://github.com/simonpierreboucher/llm_openai_notebook/blob/main/OPENAI_PROMPTING.ipynb)**: Provides methods and techniques for effective prompt engineering, demonstrating how to optimize prompts to guide model behavior.\n- **[OPENAI_REFERENCE_RAG.ipynb](https://github.com/simonpierreboucher/llm_openai_notebook/blob/main/OPENAI_REFERENCE_RAG.ipynb)**: An advanced notebook on Retrieval-Augmented Generation that includes reference material integration for highly accurate responses.\n- **[OPENAI_VECTOR_EMB.ipynb](https://github.com/simonpierreboucher/llm_openai_notebook/blob/main/OPENAI_VECTOR_EMB.ipynb)**: Explores vector embeddings with OpenAI models, showcasing how to use embeddings for similarity search, clustering, and other applications in natural language processing.\n\n## Getting Started\n\n### Prerequisites\n\nTo run these notebooks, you will need:\n- **Python 3.8+**\n- **Jupyter Notebook**\n- Dependencies listed in `requirements.txt`\n\n### Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/simonpierreboucher/llm_openai_notebook.git\n   cd llm_openai_notebook\n   ```\n\n2. Install the dependencies:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n### Running the Notebooks\n\n1. **Start Jupyter Notebook**: Open Jupyter by navigating to the repository folder and running:\n   ```bash\n   jupyter notebook\n   ```\n2. **Select a Notebook**: Open any of the notebooks to explore functionalities such as chat, RAG, or text generation.\n3. **Follow Instructions**: Each notebook contains instructions and steps for interacting with OpenAI models in the respective application.\n\n## Use Cases\n\n- **Chatbot Development**: With `OPENAI-CHAT.ipynb` and `OPENAI_PROMPTING.ipynb`, you can create and optimize a conversational agent.\n- **Information Retrieval**: Use `OPENAI-RAG.ipynb` and `OPENAI_REFERENCE_RAG.ipynb` for applications that require accurate, source-grounded responses.\n- **Content Creation**: `OPENAI-TEXTGEN.ipynb` provides tools for generating creative or informational content.\n- **Embedding and Similarity Search**: `OPENAI_VECTOR_EMB.ipynb` is ideal for NLP tasks involving similarity matching, clustering, and more.\n\n## Contributing\n\nWe welcome contributions! Feel free to submit issues or pull requests to enhance the functionality, add features, or fix bugs.\n\n## License\n\nThis repository is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonpierreboucher%2Fllm_openai_notebook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonpierreboucher%2Fllm_openai_notebook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonpierreboucher%2Fllm_openai_notebook/lists"}