{"id":20159408,"url":"https://github.com/simonpierreboucher/llm_julia_notebook","last_synced_at":"2026-04-10T02:12:39.939Z","repository":{"id":262722013,"uuid":"888147444","full_name":"simonpierreboucher/llm_Julia_notebook","owner":"simonpierreboucher","description":"This repository provides Jupyter notebooks for accessing and interacting with various Large Language Model (LLM) APIs using the Julia programming language. It demonstrates how to connect to and utilize Anthropic, Cohere, Mistral, and OpenAI APIs in Julia, allowing for experimentation with tasks like text generation, retrieval, and conversation.","archived":false,"fork":false,"pushed_at":"2024-11-13T22:37:04.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T22:29:15.772Z","etag":null,"topics":["anthropic","cohere","julia","large-language-models","llm","mistral","openai"],"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}},"created_at":"2024-11-13T22:33:45.000Z","updated_at":"2024-11-13T22:43:25.000Z","dependencies_parsed_at":"2024-11-13T23:27:59.439Z","dependency_job_id":"ee6c85be-4a0c-4ae4-a916-f95528595083","html_url":"https://github.com/simonpierreboucher/llm_Julia_notebook","commit_stats":null,"previous_names":["simonpierreboucher/llm_julia_notebook"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonpierreboucher%2Fllm_Julia_notebook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonpierreboucher%2Fllm_Julia_notebook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonpierreboucher%2Fllm_Julia_notebook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonpierreboucher%2Fllm_Julia_notebook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonpierreboucher","download_url":"https://codeload.github.com/simonpierreboucher/llm_Julia_notebook/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241597240,"owners_count":19988211,"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":["anthropic","cohere","julia","large-language-models","llm","mistral","openai"],"created_at":"2024-11-14T00:07:55.218Z","updated_at":"2025-12-31T01:03:59.378Z","avatar_url":"https://github.com/simonpierreboucher.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LLM Julia Notebook\n\nThis repository provides Jupyter notebooks for accessing and interacting with various Large Language Model (LLM) APIs using the Julia programming language. It demonstrates how to connect to and utilize Anthropic, Cohere, Mistral, and OpenAI APIs in Julia, allowing for experimentation with tasks like text generation, retrieval, and conversation.\n\n## Repository Structure\n\n- **[JULIA_ANTHROPIC_API.ipynb](https://github.com/simonpierreboucher/llm_Julia_notebook/blob/main/JULIA_ANTHROPIC_API.ipynb)**: A notebook showing how to connect with Anthropic's API using Julia, including API setup, parameter tuning, and sample API requests.\n- **[JULIA_COHERE_API.ipynb](https://github.com/simonpierreboucher/llm_Julia_notebook/blob/main/JULIA_COHERE_API.ipynb)**: Provides guidance on using Cohere's API in Julia, with examples of text generation and retrieval tasks.\n- **[JULIA_MISTRAL_API.ipynb](https://github.com/simonpierreboucher/llm_Julia_notebook/blob/main/JULIA_MISTRAL_API.ipynb)**: Explains the setup for the Mistral API in Julia, demonstrating API calls and response handling.\n- **[JULIA_OPENAI_API.ipynb](https://github.com/simonpierreboucher/llm_Julia_notebook/blob/main/JULIA_OPENAI_API.ipynb)**: Covers the configuration and usage of OpenAI's API in Julia, including example requests and parameter customization.\n\n## Getting Started\n\n### Prerequisites\n\nTo run these notebooks, you will need:\n- **Jupyter Notebook with Julia kernel (IJulia)**\n- **Julia 1.5 or newer**\n- API keys for each service (Anthropic, Cohere, Mistral, OpenAI)\n- Required dependencies as listed in `requirements.txt`\n\n### Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/simonpierreboucher/llm_Julia_notebook.git\n   cd llm_Julia_notebook\n   ```\n\n2. Install the dependencies for Jupyter Notebook and any Python API integrations:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. **Install Julia Packages**: Open a Julia session or include these commands at the beginning of each notebook to install necessary packages:\n\n   ```julia\n   using Pkg\n   Pkg.add(\"HTTP\")  # for API requests\n   Pkg.add(\"JSON\")  # for JSON parsing\n   Pkg.add(\"DataFrames\")  # for data manipulation if needed\n   Pkg.add(\"PyCall\")  # for Python interoperability if required\n   ```\n\n### Running the Notebooks\n\n1. **Start Jupyter Notebook**: Launch Jupyter with the Julia kernel by running:\n   ```bash\n   jupyter notebook\n   ```\n2. **Select a Notebook**: Open the notebook for the desired API provider (Anthropic, Cohere, Mistral, or OpenAI).\n3. **Follow Instructions**: Each notebook includes setup steps and examples for making API requests using Julia.\n\n## Use Cases\n\n- **API Interactions**: Each notebook provides examples of API calls for generating text, performing retrieval, and other LLM functionalities.\n- **Parameter Customization**: Adjust parameters such as temperature, max tokens, and prompt design to optimize model output.\n- **Cross-Provider Testing**: Easily compare responses from multiple LLM providers within the Julia environment.\n\n## Contributing\n\nWe welcome contributions! Feel free to submit issues or pull requests to improve 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_julia_notebook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonpierreboucher%2Fllm_julia_notebook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonpierreboucher%2Fllm_julia_notebook/lists"}