Skip to content

Conversation

@kylehh
Copy link
Contributor

@kylehh kylehh commented Jul 28, 2023

Adding support or Anyscale Endpoint, with default llama2 70B model for now

@vercel
Copy link

vercel bot commented Jul 28, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Jul 28, 2023 9:49pm
langchain-deprecated ⬜️ Ignored (Inspect) Jul 28, 2023 9:49pm


if self.anyscale_service_url.startswith(ANYSCALE_ENDPOINT):
body = {
"model": "meta-llama/Llama-2-70b-chat-hf",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if this is a chat model should be implemented as ChatModel. can create a ChatAnyscale(ChatModel) class. happy to help if needed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the suggest. I will close this PR for now and will work on it later

@kylehh kylehh closed this Jul 28, 2023
@kylehh kylehh deleted the anyscale_endpoint branch July 28, 2023 22:09
baskaryan pushed a commit that referenced this pull request Aug 7, 2023
- Description: Adds the ChatAnyscale class with llama-2 7b, llama-2 13b,
and llama-2 70b on [Anyscale
Endpoints](https://app.endpoints.anyscale.com/)
- It inherits from ChatOpenAI and requires openai (probably unnecessary
but it made for a quick and easy implementation)
- Inspired by #8434
(@kylehh and @baskaryan )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants