Skip to content

Commit

Permalink
docs: Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmigloz committed Jan 20, 2024
1 parent 95919ce commit 6f15d7f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The only difference is that you need to change the base URL to `https://api.endp

```dart
final chatModel = ChatOpenAI(
apiKey: togetherAiApiKey,
apiKey: anyscaleApiKey,
baseUrl: 'https://api.endpoints.anyscale.com/v1',
defaultOptions: const ChatOpenAIOptions(
model: 'meta-llama/Llama-2-70b-chat-hf',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import 'models/models.dart';
/// - [Completions API docs](https://platform.openai.com/docs/api-reference/chat)
///
/// You can also use this wrapper to consume OpenAI-compatible APIs like
/// [OpenRouter](https://openrouter.ai), [Together AI](https://www.together.ai),
/// [One API](https://github.com/songquanpeng/one-api), etc.
/// [Anyscale](https://www.anyscale.com), [Together AI](https://www.together.ai),
/// [OpenRouter](https://openrouter.ai), [One API](https://github.com/songquanpeng/one-api), etc.
///
/// ### Call options
///
Expand Down
3 changes: 2 additions & 1 deletion packages/langchain_openai/lib/src/embeddings/openai.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ import 'package:openai_dart/openai_dart.dart';
/// - [Embeddings guide](https://platform.openai.com/docs/guides/embeddings/limitations-risks)
/// - [Embeddings API docs](https://platform.openai.com/docs/api-reference/embeddings)
///
/// You can also use this wrapper to consume OpenAI-compatible APIs like [Together AI](https://www.together.ai).
/// You can also use this wrapper to consume OpenAI-compatible APIs like
/// [Anyscale](https://www.anyscale.com), [Together AI](https://www.together.ai), etc.
///
/// ### Authentication
///
Expand Down

0 comments on commit 6f15d7f

Please sign in to comment.