Comments (3)
@bitsnaps I've created an issue for this here #33
from magentic.
I wouldn't fire a new issue for this error:
ValueError: String was returned by model but not expected. You may need to update your prompt to encourage the model to return a specific type.
at this line:
verification_questions = await generate_verification_questions(query, baseline_response)
is this issue related to that one?
P.S. Here is the output of the previous Notebook cell:
Sure, here are a few politicians born in New York, New York:
1. Hillary Clinton
2. Donald Trump
3. Franklin D. Roosevelt
4. Rudy Giuliani
5. Theodore Roosevelt
from magentic.
This is now possible using @chatprompt
in https://github.com/jackmpcollins/magentic/releases/tag/v0.7.0
cc @yudataguy
from magentic.
Related Issues (20)
- What are the main differences between magentic and declarai? HOT 1
- Cannot specify max_tokens in OpenaiChatModel HOT 1
- @prompt_chain error if response model is Generic HOT 2
- Can this be used with Ollama? HOT 3
- Capability to debug model input/output HOT 1
- Temporary solution for AttributeError: module ‘openai’ has no attribute ‘ChatCompletion’ HOT 1
- Support `gpt-4-vision-preview` HOT 8
- Question: Which repository to pull the package from? HOT 2
- Update prompt to return NULL, but GPT model won't return NULL. HOT 2
- Incorrect product classification HOT 1
- Azure OpenAI not working HOT 2
- Add support to set openai base URL from magentic env variable HOT 2
- Support for reproducible outputs HOT 2
- Is tqdm used in the project? HOT 1
- Basic first example does not work on Ubuntu Python 3.10
- How to pass the OpenAI API key without environment variable? HOT 4
- Would it be possible to expose the `usage` payload of the OpenAI response? HOT 5
- Custom function descriptions HOT 2
- ollama example does not run HOT 2
- Support `stop` sequences
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magentic.