Skip to content

Commit

Permalink
Merge branch 'docs' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ksopyla committed Oct 11, 2024
2 parents f90fa1c + ca23fde commit 96e7ff8
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 22 deletions.
10 changes: 5 additions & 5 deletions docs/_docs/03-demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ toc_sticky: true
## Prompt Sail Demo


The Demo provides an insight into Prompt Sail's user interface. It allows you to explore the layout of the organization's and project's dashboards. You can also find out what details of stored transactions (AI API calls) are logged and what statistics are provided for transactions, projects and organization.
The Demo provides an insight into Prompt Sail's user interface. It allows you to explore the layout of the organization's and project's dashboards. You can also find out what details of stored transactions (Gen AI API calls) are logged and what statistics are provided for transactions, projects and organization.

Experience the functionalities of Prompt Sail firsthand by utilizing our [**FREE DEMO**](https://try-promptsail.azurewebsites.net/).
{: .notice--warning}
[**FREE DEMO**](https://try-promptsail.azurewebsites.net/)
{: .notice--info}

**No installation or account creation is required, making it a straightforward process.**

In the Demo, you also have the opportunity to test the logging of your LLM API calls. The easiest way to proceed with this is to follow the instructions in the section [Make your first LLM API call](https://promptsail.github.io/prompt_sail/docs/quick-start-guide/#make-your-first-api-call)
In the Demo, you also have the opportunity to test the logging of your Gen AI API calls. The easiest way to proceed with this is to follow the instructions in the section [Make your first Gen AI API call](https://promptsail.github.io/prompt_sail/docs/quick-start-guide/#make-your-first-api-call).


**Warning**: The Prompt Sail demo is public, so avoid including any sensitive information in your prompts when testing the Demo. Each new deployment of [**Demo page**](https://try-promptsail.azurewebsites.net/) resets the database, causing projects and transactions in the demo to be regularly deleted.
**Warning**: The Prompt Sail Demo is public, so avoid including any sensitive information in your prompts when testing it. Each new deployment of [**Demo page**](https://try-promptsail.azurewebsites.net/) resets the database, causing projects and transactions in the demo to be regularly deleted.
{: .notice--warning}
3 changes: 2 additions & 1 deletion docs/_docs/10-Storing transactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ In one project you can have multiple *AI Providers* (aka *AI Deployments*), each
### The `proxy_url` structure is as follows:

```
http://localhost:8000/project_slug/deployment_name/
http://domain/project_slug/deployment_name/
```

where:
* `domain` depends on how Prompt Sail was deployed, e.g. for local deployment it will be: localhost:8000
* `project_slug` is a slugified project name, configured in the UI while creating a project
* `deployment_name` is a slugified AI deployment name, configured in the project settings with the target AI provider *API Base URL* eg. for OpenAI: https://api.openai.com/v1/. (Note that you can configure multiple *AI Deployments* for a single project.)

Expand Down
42 changes: 26 additions & 16 deletions docs/_docs/13-gen-ai-api-integrations.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,42 @@
---
title: "Gen AI API integrations"
permalink: /docs/gen-ai-api-integrations-with-list-of-examples/
excerpt: "List of examples with all tested Gen AI API integrations"
last_modified_at: 2024-07-11T18:00:05+01:00
excerpt: "List of examples for all tested Gen AI API integrations"
last_modified_at: 2024-08-09T18:00:05+01:00
redirect_from:
- /theme-setup/
toc: true
toc: false
toc_sticky: true
---
Here you can explore examples of how to connect to Gen AI models from different AI providers via Prompt Sail and with different libraries.
In this section, you can explore examples demonstrating how to connect to different GenAI models using Prompt Sail and various libraries.

| Integration | Description |
| ----------- | ----------- |
| [**OpenAI** with **OpenAI SDK**](https://github.com/PromptSail/prompt_sail/blob/dev/examples/openai_sdk_openai.ipynb) | works for the chat models |
| [**OpenAI** with **OpenAI SDK**](https://github.com/PromptSail/prompt_sail/blob/dev/examples/openai_sdk_oai_multimodal.ipynb) | works for multimodal models (GPT-4o-mini, GPT-4o, GPT-4 Turbo)|
| [**OpenAI** with **OpenAI SDK**](https://github.com/PromptSail/prompt_sail/blob/dev/examples/openai_sdk_oai_images.ipynb) | works for image generation models (DALL-E models) |
| [**OpenAI** with **OpenAI SDK**](https://github.com/PromptSail/prompt_sail/blob/dev/examples/openai_sdk_oai_embeddings.ipynb) | works for embedding models (text-embedding-small, text-embedding-large and text-embedding-ada)|
| [**OpenAI** with **LangChain**](https://github.com/PromptSail/prompt_sail/blob/dev/examples/langchain_openai.ipynb) | works for the chat models |
| [**Azure OpenAI** with **OpenAI SDK**](https://github.com/PromptSail/prompt_sail/blob/dev/examples/openai_sdk_azure_openai.ipynb) | works for the chat models |
| [**Azure OpenAI** with **OpenAI SDK**](https://github.com/PromptSail/prompt_sail/blob/dev/examples/openai_sdk_azure_dalle.ipynb) | works for image generation models (DALL-E models) |
| [**Azure OpenAI** with **LangChain**](https://github.com/PromptSail/prompt_sail/blob/dev/examples/langchain_azure_openai.ipynb) | works for chat models |
| [**Azure OpenAI** with **LangChain**](https://github.com/PromptSail/prompt_sail/blob/dev/examples/langchain_azure_multimodal.ipynb) | works for multimodal models |
| [**Azure OpenAI** with **LangChain**](https://github.com/PromptSail/prompt_sail/blob/dev/examples/langchain_azure_oai_embeddings.ipynb) | works for embedding models |
| [**Anthropic** with **LangChain**](https://github.com/PromptSail/prompt_sail/blob/dev/examples/langchain_anthropic.ipynb) | works with all Claude family models |
| [**Anthropic** with **Anthropic SDK**](https://github.com/PromptSail/prompt_sail/blob/dev/examples/anthropic_sdk_claude.ipynb) | works with all Claude family models |
| [**Google Vertex AI** with **LangChain**](https://github.com/PromptSail/prompt_sail/blob/dev/examples/langchain_google_vertexai.ipynb) | |
| [**Groq** with **Groq SDK**](https://github.com/PromptSail/prompt_sail/blob/dev/examples/groq_sdk_groq.ipynb) | |
| [**Huggingface** with **LangChain**](https://github.com/PromptSail/prompt_sail/blob/dev/examples/langchain_huggingface_endpoints.ipynb) | |
| [**Ollama** with **Request**](https://github.com/PromptSail/prompt_sail/blob/dev/examples/request_ollama.ipynb) | |




## OpenAI
**OpenAI SDK**

**Langchain**

## Azure OpenAI
**langchain**

## Anthropic
**Anthropic SDK**

**langchain**

## Google Vertex AI
**langchain**

## Groq
**Groq SDK**


0 comments on commit 96e7ff8

Please sign in to comment.