Skip to content

Commit 2268ec2

Browse files
Merge pull request #7 from github/ryanjamescaldwell/update
Update codespace with latest changes
2 parents d15f74f + 7f18ebf commit 2268ec2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+3010
-810
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
.vscode/
12
__pycache__/
23
.env
34
.DS_Store
45
cookbooks/python/openai/vector_databases/chroma/vector_database_wikipedia_articles_embedded*.zip
56
cookbooks/python/openai/vector_databases/data/vector_database_wikipedia_articles_embedded.csv
67
.env.save
7-
node_modules/
8+
cookbooks/python/openai/data/hotel_invoices/transformed_invoice_json/*
9+
cookbooks/python/openai/data/hotel_invoices/extracted_invoice_json/*
10+
cookbooks/python/openai/data/hotel_invoices/hotel_DB.db
11+
cookbooks/python/openai/hallucination_results.csv

README.md

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,33 @@
1-
# GitHub Models
1+
# GitHub Models - Limited Public Beta
22

3-
Welcome to your shiny new Codespace for interacting with GitHub Models! We've got everything fired up and running for you to explore.
3+
Welcome to your shiny new Codespace for interacting with GitHub Models! We've got everything fired up and ready for you to explore AI Models hosted on Azure AI.
44

5-
You've got a blank canvas to work on from a git perspective as well. There's a single initial commit with the what you're seeing right now - where you go from here is up to you!
5+
The git history is a nearly-blank canvas; there's a single initial commit with the contents you're seeing right now - where you go from here is up to you!
66

7-
Everything you do here is contained within this one codespace. There is no repository on GitHub yet. If and when you’re ready you can click "Publish Branch" and we’ll create your repository and push up your project. If you were just exploring then and have no further need for this code then you can simply delete your codespace and it's gone forever.
7+
Everything you do here is contained within this one codespace. There is no repository on GitHub yet. When you’re ready you can click "Publish Branch" and we’ll create your repository and push up your project. If you were just exploring then and have no further need for this code then you can simply delete your codespace and it's gone forever.
8+
9+
For more information about the Models available on GitHub Models, check out the [Marketplace](https://github.com/marketplace/models).
10+
11+
When bringing your application to scale, you must provision resources and authenticate from Azure, not GitHub. Learn more about deploying models to meet your use case with Azure AI.
812

913
## Getting Started
1014

11-
There are a few basic examples that are ready for you to run. You can find them in the [samples directory](/samples/README.md). If you want to jump straight to your favorite language, you can find the examples in the following directories:
12-
- [JavaScript](/samples/js/README.md)
13-
- [Python](/samples/python/README.md)
14-
- [REST](/samples/curl/README.md)
15+
There are a few basic examples that are ready for you to run. You can find them in the [samples directory](samples/README.md). If you want to jump straight to your favorite language, you can find the examples in the following directories:
16+
17+
- [JavaScript](samples/js/README.md)
18+
- [Python](samples/python/README.md)
19+
- [cURL](samples/curl/README.md)
20+
21+
If you are already familiar with the GitHub Models service, you can start by running our Cookbook examples. You can find them in the [cookbooks directory](cookbooks/README.md). Here are the direct links to the available languages (at this point only Python):
22+
23+
- [Python](cookbooks/python/README.md)
24+
25+
## Disclosures
26+
27+
Remember when interacting with a model you are experimenting with AI, so content mistakes are possible.
28+
29+
The feature is subject to various limits (including requests per minute, requests per day, tokens per request, and concurrent requests) and is not designed for production use cases.
30+
31+
GitHub Models uses [Azure AI Content Safety](https://azure.microsoft.com/en-us/products/ai-services/ai-content-safety). These filters cannot be turned off as part of the GitHub Models experience. If you decide to employ models through a paid service, please configure your content filters to meet your requirements.
1532

16-
If you are already familiar with the GitHub Models service, you can start by running our Cookbook examples. You can find them in the [cookbooks directory](/cookbooks/README.md). Here are the direct links to the available languages:
17-
- [Python](/cookbooks/python/README.md)
33+
This service is under GitHub’s [Pre-release Terms](https://docs.github.com/en/site-policy/github-terms/github-pre-release-license-terms). Your use of the GitHub Models is subject to the following [Product Terms](https://www.microsoft.com/licensing/terms/productoffering/MicrosoftAzure/allprograms) and [Privacy Statement](https://www.microsoft.com/licensing/terms/product/PrivacyandSecurityTerms/MCA). Content within this Repository may be subject to additional license terms.

cookbooks/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# GitHub Models Cookbooks
2+
3+
This folder contains cookbooks for interacting with GitHub Models in several languages. Similar cookbooks are available on model providers' websites, but have been altered here to interact with the GitHub Models service.
4+
5+
- [Python](python/README.md)
6+
7+
The samples were modified slightly to better run with the GitHub Models service.

cookbooks/python/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
# GitHub Models Cookbooks
1+
# GitHub Models Cookbooks - Python
22

3-
This folder contains cookbooks for interacting with GitHub Models. Similar cookbooks are available on model providers' websites, but have been altered here to interact with the GitHub Models service.
3+
This folder contains cookbooks for interacting with GitHub Models using Python. Similar cookbooks are available on model providers' websites, but have been altered here to interact with the GitHub Models service.
44

55
- [OpenAI](openai/README.md)
66
- [Mistral AI](mistralai/README.md)
77
- [LlamaIndex](llamaindex/README.md)
8+
- [LangChain](langchain/README.md)
9+
10+
The samples were modified slightly to better run with the GitHub Models service.

cookbooks/python/langchain/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# LangChain cookbooks
2+
3+
This folder contains examples of how to achieve specific tasks using the LangChain framework. LangChain is a modular framework designed to streamline the development and integration of applications utilizing large language models (LLMs) by providing tools for effective prompt engineering, data handling, and complex workflows.
4+
5+
## Examples
6+
7+
- [LangChain](lc_openai_getting_started.ipynb): Examples of how LangChain can be used with models provided by the GitHub Models service

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy