-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Feature: Add SambaNova as new AI connector #10338
Comments
I took a look at the SambaNova developer documentation and here is their Python example: import os
import openai
client = openai.OpenAI(
api_key=os.environ.get("SAMBANOVA_API_KEY"),
base_url="https://api.sambanova.ai/v1",
)
response = client.chat.completions.create(
model='Meta-Llama-3.1-8B-Instruct',
messages=[{"role":"system","content":"You are a helpful assistant"},{"role":"user","content":"Hello"}],
temperature = 0.1,
top_p = 0.1
)
print(response.choices[0].message.content) This uses the OpenAI client library (which also exists for .Net) so there is no need to create dedicated connector for this service. |
hey @markwallace-microsoft thank for your quick response. I work for SambaNova and I was just asking if adding a new connector would be the best way since I also see other LLM vendors there. I've already built an example using Semantic kernel and OpenAI connector pointing to our endpoints, and it's working great. If the latter is the approach we should take that's fine. Let me know if you have any additional thoughts. Thanks! |
Hi @snova-rodrigom Thanks! |
Add SambaNova as new AI connector
It would be interesting to support SambaNova models in Semantic Kernel. Models there are very fast and precise.
I'd like to collaborate on adding SambaNova models to Semantic Kernel as new AI connectors. Do you have any docs related to how can someone help on adding new connectors? Thanks.
The text was updated successfully, but these errors were encountered: