An open API service indexing awesome lists of open source software.

https://github.com/simonpierreboucher/notebook_html

This repository contains HTML versions of various Jupyter notebooks. These files are accessible directly in a web browser, allowing for easy viewing and sharing of notebook content without requiring a Jupyter Notebook environment.
https://github.com/simonpierreboucher/notebook_html

anthropic chatbot chatgpt julia jupyter-notebook large-language-models llm mistral openai python r text-embedding text-generation

Last synced: 3 months ago
JSON representation

This repository contains HTML versions of various Jupyter notebooks. These files are accessible directly in a web browser, allowing for easy viewing and sharing of notebook content without requiring a Jupyter Notebook environment.

Awesome Lists containing this project

README

          

# Notebook HTML Repository

This repository contains HTML versions of various Jupyter notebooks. These files are accessible directly in a web browser, allowing for easy viewing and sharing of notebook content without requiring a Jupyter Notebook environment.

## Overview

The notebooks in this repository cover a range of topics, including interactions with different language model APIs (e.g., OpenAI, Anthropic, Mistral), text generation, retrieval-augmented generation (RAG), summarization, translation, and multi-step prompt workflows. This repository serves as a reference for various NLP tasks and language model functionalities.

## Repository Structure

Below is a list of each notebook with a brief description of its content. Click the links to view each notebook.

### Anthropic Notebooks
- **[ANTHROPIC-CHATBOT](https://simonpierreboucher.github.io/notebook_html/ANTHROPIC-CHATBOT.html)**: Demonstrates how to use the Anthropic API for chatbot interactions.
- **[ANTHROPIC-RAG](https://simonpierreboucher.github.io/notebook_html/ANTHROPIC-RAG.html)**: Shows Retrieval-Augmented Generation with Anthropic models.
- **[ANTHROPIC-TEXTGEN](https://simonpierreboucher.github.io/notebook_html/ANTHROPIC-TEXTGEN.html)**: Explores text generation capabilities with Anthropic models.

### Cohere Notebooks
- **[COHERE-CHATBOT](https://simonpierreboucher.github.io/notebook_html/COHERE-CHATBOT.html)**: Implements a chatbot using the Cohere API.
- **[COHERE-RAG](https://simonpierreboucher.github.io/notebook_html/COHERE-RAG.html)**: Demonstrates Retrieval-Augmented Generation with Cohere models.

### Julia API Notebooks
- **[JULIA_ANTHROPIC_API](https://simonpierreboucher.github.io/notebook_html/JULIA_ANTHROPIC_API.html)**: Interacts with the Anthropic API using Julia.
- **[JULIA_COHERE_API](https://simonpierreboucher.github.io/notebook_html/JULIA_COHERE_API.html)**: Shows Cohere API usage in Julia.
- **[JULIA_MISTRAL_API](https://simonpierreboucher.github.io/notebook_html/JULIA_MISTRAL_API.html)**: Demonstrates Mistral API interaction in Julia.
- **[JULIA_OPENAI_API](https://simonpierreboucher.github.io/notebook_html/JULIA_OPENAI_API.html)**: Provides OpenAI API interaction examples in Julia.

### Multi-Step Flow Notebooks
- **[LLM_FLOW_1](https://simonpierreboucher.github.io/notebook_html/LLM_FLOW_1.html)**: Introduces a modular framework for interacting with various LLM APIs, covering text generation and embedding retrieval.
- **[LLM_FLOW_2](https://simonpierreboucher.github.io/notebook_html/LLM_FLOW_2.html)**: Expands on the multi-step framework, demonstrating semantic search and advanced workflows.

### Mistral Notebooks
- **[MISTRAL-CHATBOT](https://simonpierreboucher.github.io/notebook_html/MISTRAL-CHATBOT.html)**: Builds a chatbot using the Mistral API.
- **[MISTRAL-RAG](https://simonpierreboucher.github.io/notebook_html/MISTRAL-RAG.html)**: Implements Retrieval-Augmented Generation with Mistral models.
- **[MISTRAL-TEXTGEN](https://simonpierreboucher.github.io/notebook_html/MISTRAL-TEXTGEN.html)**: Explores text generation capabilities with Mistral models.

### OpenAI Notebooks
- **[OPENAI-CHAT](https://simonpierreboucher.github.io/notebook_html/OPENAI-CHAT.html)**: Creates a chatbot using the OpenAI API.
- **[OPENAI-RAG](https://simonpierreboucher.github.io/notebook_html/OPENAI-RAG.html)**: Demonstrates Retrieval-Augmented Generation with OpenAI models.
- **[OPENAI-TEXTGEN](https://simonpierreboucher.github.io/notebook_html/OPENAI-TEXTGEN.html)**: Showcases text generation with OpenAI models.
- **[OPENAI_PROMPTING](https://simonpierreboucher.github.io/notebook_html/OPENAI_PROMPTING.html)**: Covers techniques for effective prompt engineering with OpenAI models.
- **[OPENAI_REFERENCE_RAG](https://simonpierreboucher.github.io/notebook_html/OPENAI_REFERENCE_RAG.html)**: Uses reference materials for enhanced Retrieval-Augmented Generation.
- **[OPENAI_VECTOR_EMB](https://simonpierreboucher.github.io/notebook_html/OPENAI_VECTOR_EMB.html)**: Explores vector embedding retrieval and similarity search with OpenAI models.

### PDF Summarization
- **[PDF_CHUNK_SUMMARIZATION](https://simonpierreboucher.github.io/notebook_html/PDF_CHUNK_SUMMARIZATION.html)**: Summarizes PDF content by chunking and analyzing text segments.

### Python API Notebooks
- **[PYTHON_ANTHROPIC_API](https://simonpierreboucher.github.io/notebook_html/PYTHON_ANTHROPIC_API.html)**: Interacts with the Anthropic API in Python.
- **[PYTHON_COHERE_API](https://simonpierreboucher.github.io/notebook_html/PYTHON_COHERE_API.html)**: Shows usage of the Cohere API in Python.
- **[PYTHON_MISTRAL_API](https://simonpierreboucher.github.io/notebook_html/PYTHON_MISTRAL_API.html)**: Demonstrates Mistral API interaction in Python.
- **[PYTHON_OPENAI_API](https://simonpierreboucher.github.io/notebook_html/PYTHON_OPENAI_API.html)**: Covers OpenAI API calls and parameters in Python.

### Question Answering
- **[QA_llm_function](https://simonpierreboucher.github.io/notebook_html/QA_llm_function.html)**: Demonstrates question-answering using language models, providing answers based on context or a document.

### R API Notebooks
- **[R_ANTHROPIC_API](https://simonpierreboucher.github.io/notebook_html/R_ANTHROPIC_API.html)**: Uses the Anthropic API in R.
- **[R_COHERE_API](https://simonpierreboucher.github.io/notebook_html/R_COHERE_API.html)**: Interacts with the Cohere API in R.
- **[R_MISTRAL_API](https://simonpierreboucher.github.io/notebook_html/R_MISTRAL_API.html)**: Demonstrates Mistral API interaction in R.
- **[R_OPENAI_API](https://simonpierreboucher.github.io/notebook_html/R_OPENAI_API.html)**: Uses the OpenAI API in R.

### LLM Function Notebooks
- **[fewshot_llm_function](https://simonpierreboucher.github.io/notebook_html/fewshot_llm_function.html)**: Demonstrates few-shot learning with LLMs, providing a limited number of examples to guide model responses.
- **[generate_llm_function](https://simonpierreboucher.github.io/notebook_html/generate_llm_function.html)**: Explores text generation tasks using various LLMs.
- **[summarize_llm_function](https://simonpierreboucher.github.io/notebook_html/summarize_llm_function.html)**: Implements summarization of text input.
- **[translate_llm_function](https://simonpierreboucher.github.io/notebook_html/translate_llm_function.html)**: Provides language translation capabilities using LLMs.

## License

This repository is licensed under the MIT License.