I'm primarily an Ops guy with a toolbox of Bash scripts and Perl utilities, hoping they might be useful for your projects too. Pull requests are always welcome!
You can also find me on LinkedIn if you want to connect.
π΄ Drop-in replacement REST API for Vertex AI (PaLM 2, Codey, Gemini) that is compatible with the OpenAI API specifications
License: Apache License 2.0
I'm primarily an Ops guy with a toolbox of Bash scripts and Perl utilities, hoping they might be useful for your projects too. Pull requests are always welcome!
You can also find me on LinkedIn if you want to connect.
After May 3rd, deploying this container as a public API (allowing unauthenticated calls) in Google Cloud Run will be disabled by default. Changing this setting requires an email address with domain management permissions, which I do not have. Is it possible to achieve public, unauthenticated access using methods like intranet penetration?
[Translation text]
Should we consider adding support for safety_settings so that we can disable moderation to some extent?
Refer: langchain-ai/langchain#15344
as title.
Can Support Claude 3 Opus model?
Reference:
https://console.cloud.google.com/vertex-ai/publishers/anthropic/model-garden/claude-3-opus
Anthropic on Vertex AI:
https://python.langchain.com/v0.2/docs/integrations/llms/google_vertex_ai_palm/#anthropic-on-vertex-ai
Thank you
While deploying your program locally. I was simply converting the exports
by changing export to set.
Completely forgetting (despite a lot of years), to remove the double-quotes.
once I did that it worked like a charm.
linux:
export DEBUG="True"
export OPENAI_API_KEY="sk-XYZ"
export MODEL_NAME="gemini-pro"
Win:
set DEBUG=True
set OPENAI_API_KEY=sk-XYZ
set MODEL_NAME=gemini-pro
I do want to thank you, this will be solving an issue with using autogen, that I was tired of messing with, and I am so grateful you wrote this api! Thank you!
I deployed this via the Colab feature:
{
httpRequest: {
latency: "0.135149560s"
protocol: "HTTP/1.1"
referer: "https://chatbot-ui-35XXX-ew.a.run.app/"
remoteIp: "2a02:3100:5867:8701:a596:638d:4670:c449"
requestMethod: "POST"
requestSize: "862"
requestUrl: "https://chatbot-ui-35XXX.a.run.app/api/models"
responseSize: "666"
serverIp: "2001:4860:4802:36::35"
status: 500
userAgent: "Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"
}
insertId: "65a158cd0006fcb5d44be846"
labels: {
instanceId: "0087599d427185aebb313689bb408e0c88da7eaf33934605a2ff3204ad1649412c336d290dadc8458e2f8ef07655d8a216fa860c3d3d88a53cd44f259ff3202f6a9c"
}
logName: "projects/thorstenstaerk-nils2/logs/run.googleapis.com%2Frequests"
receiveTimestamp: "2024-01-12T15:20:45.618651319Z"
resource: {
labels: {
service_name: "chatbot-ui"
project_id: "thorstenstaerk-nils2"
revision_name: "chatbot-ui-00001-gfs"
configuration_name: "chatbot-ui"
location: "europe-west1"
}
type: "cloud_run_revision"
}
severity: "ERROR"
spanId: "13873342680540356080"
timestamp: "2024-01-12T15:20:45.320472Z"
trace: "projects/thorstenstaerk-nils2/traces/b4419a8dd29302b4eb53be48e42bac76"
}
When I look at the next messages in the log, they are not marked as Error messages, but I find one that I regard as relevant:
The requested URL /v1/models
was not found on this server. Thatβs all we know.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.